I would like to check if a label is new (never used in any existing ticket), and act upon it in a jira automation rule.
Is this possible? I have an existing rule that lets users add certain keywords inside the comments that will add the appropriate label to the ticket, and want to send a warning if they are using non-approved/defined labels (to avoid typos etc). I am trying to avoid hardcoding the keywords inside the automation itself.
The point of using keywords, rather than just labeling directly was to encourage users to explain themselves by providing a shortcut for the label as part of the explaination. (labeling can cause automatic ticket closing and other actions).
Hi @Henry Yei
You could use either a JQL condition, or a Lookup Issues action and check that the results were empty. The JQL would be something like this:
labels IN (yourValueToTest)
However...I wonder how you are detecting these keywords, labels, etc. in the comment. For example, are the comments always structured in a certain manner that you only check the keyword under certain conditions, such as the comment contains "Keyword: yourValueToTest"?
Kind regards,
Bill
Using Colored Label Manager you can see at a glance how often labels are being used
and Manage your labels globally or per-project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.