Is it possible to create a filter on JIRA which would filter by the number of labels containing the same word. So different labels which share one common word.
e.g. Tickets which have at least 2 labels containing the same word within the different labels
Hello Jacob,
Natively there is not a method to count values in a field so you will need to look into add-ons. I know you can do this with the add-on app Jira Misc Fields (JMCF) by creating a scripted number filed with the following expression:
issue.get("labels").size()
This would tally up the number of labels present on an issue.
Then for your JQL search you could use:
"Number of labels custom field name here" >= 2 AND labels in (example_lable_name)
I would bet that this is also possible with ScriptRunner with the .size() value in a scripted field or possibly Power Scripts as well if you have either of these tools already, but I cannot confirm and do not have any examples off hand.
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.