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

Issues Searching Tickets with specific labels

Hi All,

 

I am trying to search all the tickets which have either LABEL A or LABEL B tagged along with a specific set of users who have reported the issue and then export the query on a two dimensional filter statistic gadget.

When i check the gadget, i see multiple labels coming up  in the two dimensional filter

query used is as below

( labels = A OR labels = B ) AND (reporter = X OR reporter = Y OR reporter = Z )

 

Not sure what is wrong in this query, I have not added the status of the ticket as i need details of all the tickets who have this label, 

I assume it should pull the details from all the projects ( 1,2,3,4.. ) in which this LABELS are being used

 

Any suggestions would be appreciated

2 answers

0 votes

Hey @Gurdeep Singh 

You would want the JQL to look something like the example below. I think your issues is you have it as "labels = A OR labels = B" and it needs to "labels in".

 

labels in ("Label A", "Label B") AND reporter in ("User X", "User Y","User Z")
0 votes
Jack Community Leader Sep 11, 2019

lets first simplify the query

labels in (A,B) AND reporter in (x,y,z)

now as to what you are seeing in the gadget where issues w/ labels other than A or B is likely because there are issues that contain A or B BUT also contain another label. To check this theory. click on one of the links for say label C and look at the labels field. Does it also contain A or B?

Does this make sense?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

955 views 8 25
Read article

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