Forums

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

DueDates

Katherine Stevens
Contributor
October 8, 2018

Hi!  I'm really new to JIRA.  I'm trying to write a 2 different queries.

1.  I need to see all issues that are more than 14 days past its duedate. 

Example:  today is 10/8/18 and I need to see all issues that were due on or before 9/24/18.

 

2.  I need to see all issues that have a 14 day gap between it's duedate and planned end date (which is a custom field I created). 

Example:  I have an issue and its duedate is 10/8/18 and it's PlannedEnd is 11/5/18

 

Any help would be greatly appreciated.

Thanks!

 

2 answers

1 accepted

1 vote
Answer accepted
Thomas Schlegel
Community Champion
October 8, 2018

Hi @Katherine Stevens,

the first one is:

duedate <= startOfDay(-14d) ORDER BY duedate

With plain Jira, you can't compare a duedate with a custom field. You need an additional app like scriptrunner for this, but there may also be others on the marketplace.

1 vote
Katherine Stevens
Contributor
October 8, 2018

Thank you @Thomas Schlegel!

Thomas Schlegel
Community Champion
October 8, 2018

You're welcome, @Katherine Stevens

If you think, your question is answered, please accept the answer with the checksign. Other users with similar questions can find answered questions much easier that way.

Thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events