The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can any one explain below JQL

seethamraju
Contributor
January 7, 2020

Hi Team, 

Can you please explain me below listed JQL.

project = ABCD AND issuetype in (Bug) AND NOT (status = Closed AND resolutiondate <= -5d) ORDER BY Priority DESC

 

Thanks,

Raju

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Matt Doar
Community Champion
January 7, 2020

It finds Bugs in the project ABCD.

Then the second clause finds old closed issues

Then the NOT says show everything but that.

Drawing venn diagrams often helps me

0 votes
Cody Stevens
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 Champions.
January 7, 2020

It looks like its doing the following

  • Looking only at issues in the ABCD project
  • Looking only at issues that are in the Bug issue type
  • Looking only at issues that are not in the closed status
  • Looking only at issues that were not resolved in the last 5 days

Here's a deeper breakdown:

project = ABCD means its only looking at issues in the ABCD project

AND issuetype in (Bug) means its only looking for the bug issue type

AND NOT (status = Closed AND resolutiondate <= -5d) means its ignoring issues in the closed status and issues that have been resolved at least 5 days ago

 

TAGS
AUG Leaders

Atlassian Community Events