Apply labels automatically when taking action on Issues/MRs
Problem to solve
Control issue movement within kanban-line boards automatically when actions are taken on Issues/MRs
Current Solution
GitLab Triage is a tool that can be leveraged using CI Pipelines + Access Tokens to manage the application of labels using rules written in YAML.
Intended users
Further details
On Gitlab Kanban-like boards are usually defined using Labels as Lists. There should be an automated way of moving issues between lists while taking action on Issues/MR.
Few examples:
- Assigning a issue could could apply/remove a label
- Upon assigning a issue to a person, an In Progress label could be assigned
- Closing an issue could apply/remove a label:
- Upon closing an issue, an "In Progress" label could be removed
- Merging a MR could apply/remove labels.
- Upon a merge, "In Progress" and "Review" labels could be removed, and "Done" label could be applied
- Closing MR could apply/remove labels.
- Upon MR close, a "In Progress", "Review", "Done" could be removed, and "Rejected" label could be applied
These automations would help product/project managers and developers to keep the issues/board up to date without manually updating the issues.
This would also help to keep the issues tidily using labels that whose sole purpose is to control boards lists, from the labels created for general purpose.
Edited by Tim Poffenbarger