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
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?
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")
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.