I want to remove a specific label from the relevant issues.
The label I want to remove is "M42_2차".
Please tell me how to create an automation rule that removes the "M42_2차" label when an issue that matches project = Q7 AND fixVersion = M42.0 AND labels = M42_2차
changes its status to "To Do", "In Progress", "On Hold", or "Discarded".
Hi @chuu , thanks for your question.
You should be able to create an automation like this - To remove a label on the issue transition.
I usually recommend people use the automation library to see worked examples, https://www.atlassian.com/software/jira/automation-template-library/rules#/rule-list?systemLabelId=all&page=1&pageSize=20&sortKey=name&sortOrder=ASC
Please create a rule and test it. If it doesn't work, please share screens of how the rule is configured and the audit log showing what has happened so we can help you better.
Best wishes
Hello @chuu
I think you can do it via automation and trigger it when the issue is transitioned — if the issue has only one label, which is M42_2차.
If it has multiple labels, you'll need to take approach with array field and find a way to remove just that specific label.
trigger it when the issue is transitioned
From:
Leave to black
To:
To Do, In Progress, etc.
Condition:
If labels contain M42_2차
Then edit issue:
Set Labels to blank (to remove all labels or clear them)
Hope this can help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.