JQL based on issuetypes with different criteria

FMchar March 6, 2024

The following not working...

project in (One, Two) AND (issuetype in (Dependency, Feature) AND Priority = "High") AND issuetype=Risk

 

In other words I only want Dependencies and Features with high priority and All risks from projects One and Two( irrespective of priority

Is this possible? Thank you

2 answers

1 accepted

2 votes
Answer accepted
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2024

Hi @FMchar 
project in (One, Two) AND (issuetype in (Dependency, Feature) AND Priority = "High") OR project in (One, Two) AND issuetype=Risk

FMchar March 6, 2024

Thank you. This has done it.  Over a 1000+ items which means I cannot export as one Excel CSV (sigh!)

Like Craig Nodwell likes this
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2024

You could make this a little cleaner.
((issuetype in (Dependency, Feature) AND Priority = "High") OR issuetype=Risk) AND project in (One, Two)

0 votes
Perisic Nikola
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.
March 6, 2024

Hello @FMchar 

Modify your JQL query:

project in (One,Two) AND issuetype in (Dependency, Feature, Risk) AND priority = High

FMchar March 6, 2024

Thank you. It does not work and no risks are found as no risks have priority field populated

Perisic Nikola
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.
March 6, 2024

Have you defined an issue type of a Risk in your project? Do you have issues created from this issue type? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events