Forums

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

Jira timebased Query "calculation"

it_marcapo May 11, 2021

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 Champion
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. 

it_marcapo May 11, 2021

Means that it isnt possible without workaround like you describe?

John Funk
Community Champion
May 11, 2021

Not that I am aware of. 

@Bill Sheboy  - Thoughts? 

Bill Sheboy
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.
May 11, 2021

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,

Bill

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events