Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JQL for comparing due date to created date

pastora May 20, 2022

We have a 5 business day SLA for new user provisions, I need a JQL query to see tickets where Due Date is less than Created Date plus 5 days 

1 answer

1 accepted

4 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2022

Hi @pastora - Unfortunately, JQL does not natively support comparing two dates.  You could go about this two ways:

  1. Use a 3rd party app like Scriptrunner - Here's a similar question:
  2. Revisit how you're using Due Date - You could leverage an automation rule that triggers on issue creation and sets the Due Date to 5 days from creation.  Then you can perform relative queries against the Due Date rather than trying to compare to another field.

Suggest an answer

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

Atlassian Community Events