srggrs / assign-one-project-github-action

Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
MIT License
171 stars 61 forks source link

Remove an issue from a project #51

Open NoahTarr opened 4 years ago

NoahTarr commented 4 years ago

To start I love what you have implemented. This is definitely very useful in workflow management.

Is it possible to remove an issue from a project? I'm interested due to the situation when an issue is incorrectly labeled then relabeled I would like to remove it from the project it was initially added to.

srggrs commented 4 years ago

Hi sorry for replying late. Thank you!

At the moment is not possible. The thing is that I thought about implementing it but I'm not sure about the use case. I'd appreciate if you can share your use case a bit more in detail so I can understand how to best fit the action in it.

I can say that usually you would have a couple of project dashboards/kanbans to track progress/issues related to specific things. For example you would have a project for production, staging and the backlog where all the new issues and PRs would go. But you can have other examples, let's say project A, project B and the backlog.

Seems that the common project is some sort of backlog to collect and monitor all the new created tickets/issues.

Open to any suggestions. :)

NoahTarr commented 4 years ago

The use case for our project is priority based. Each project board has a set priority. e.g. priority critical, high, medium, and low. This is how our issues are organized so we can determine which issues to tackle first. Sometimes issues are labeled a certain priority but later determined to be a different priority than what they were originally assigned. For this reason, we change the priority issue label resulting in the issue then being on multiple priority boards.

srggrs commented 3 years ago

Ok I think I have an idea how to make this happening. The idea is that the action will add (default) or remove the issue or PR to/from a specific project. Then it is up to the workflow file to specify the exact logic to trigger the action (I can see we can use the unlabeled trigger).

It is just that I can't make it happen in the next month as I have extra stuffs on top of my regular projects, so this might take a while.... though I'd gladly accept PR if you intend to do one.

nivisi commented 2 years ago

@srggrs hey! Thank you for your work :) Any plans on implementing this one?