Need a JQL that can provide more precise data

Dan Buchanan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 14, 2024

I need a query where I can see both the bug priority (Blocker and High) and a label of Go-Live. 

Not all bugs have these 2 priorities and a label of Go-Live 

Not all bugs have a label of Go-Live that are in Blocker and High priority

 

 

Here is what I have for my JQL, but its not providing all the data we need.

project = X and priority in (Blocker, High) and status not in (Triaged, Done) and labels in (Go-Live)

Thanks

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2024

Hi @Dan Buchanan -- Welcome to the Atlassian Community!

What data is not returned that you need?  Are you missing some fields in the results or are issues not returning from the search as expected?

To add additional columns, add them to the view when searching.

If some issues are not returned as expected, the way you wrote that JQL it will return issues which match all of the criteria, as the AND keyword was used: https://support.atlassian.com/jira-software-cloud/docs/jql-keywords/#AND

If you are looking for issues which match either of the criteria, please use the OR keyword with parentheses to group the logic: https://support.atlassian.com/jira-software-cloud/docs/jql-keywords/#OR

project = X
AND status NOT IN (Triaged, Done)
AND (
priority IN (Blocker, High)
OR labels IN (Go-Live)
)

 

Kind regards,
Bill

Dan Buchanan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 14, 2024

Thanks Bill, that provided me with the data I needed.

 

Like Bill Sheboy likes this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2024

Awesome; I am glad to learn that helped.  Please consider marking this question as "answered" to help others with a similar need find solutions faster.  Thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events