Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira timebased Query "calculation"

Hey guys,

is it possible to create an jql-filter for the following case?


Issue which was in status XY and the duedate was <5d on the time it changed the status to XY.


Issue that was in status XY and the duedate was <5d  -  is easy.

But the calculation from the duedate should be taken at the moment when it comes to "status XY" and not now.


Is here the end of jira syntax? theoretically all needed data should be in the system.


Thx for help!


1 answer

0 votes
John Funk Community Leader May 11, 2021

Hi @it_marcapo  - You would probably need to create a custom date field that captures the value of the date when it is moved to XY status. Then you would be able to compare the dates using Automation. 

Means that it isnt possible without workaround like you describe?

John Funk Community Leader May 11, 2021

Not that I am aware of. 

@Bill Sheboy  - Thoughts? 

Hi @it_marcapo and @John Funk 

As John notes, you could start capturing that information with a scripting add-on or automation rule to store in a custom field, and then query it in the future. 

But for prior occurrences, I am unclear how you would do that without a direct database query or some form of marketplace add-on.  I am not currently savvy on the data model for server version so I cannot help with such a query.  Sorry I couldn't be more helpful.

Best regards,


Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

296 views 9 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you