It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How find issues with 2 or more labels?

Hello.

 

Can any chance to create filter with showing all issues where labels has 2 values or more?

 

Best regards,

Artur Amirov.

1 answer

1 accepted

1 vote
Answer accepted
Thomas Schlegel Community Leader Mar 16, 2017

Hi Artur,

if you have the Scriptrunner-Plugin for JIRA you can add a scripted custom field, e.g. "Number of Labels". Use the Number Searcher for the field.

This field is defined with the following script:

issue.getLabels().size()

Then, do a full reindex, so the field is filled for all your issues.

After that, you can search  with the following JQL:

"Number of Labels" > 2

But, this works only if you have the scriptrunner plugin. I don't know a solution without that plugin.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,099 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you