Forums

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

How can I calculate between two dates(resolved date and create date) in JQL ?

Orkun Ovayurt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 12, 2025

How can I calculate between two dates(resolved date and create date) ?

How many days and hours between these days ? Can you help me ?

2 answers

1 vote
Marc - Devoteam
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.
September 13, 2025

Hi @Orkun Ovayurt 

Welcome to the community.

You can use smart values for this.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/ 

You can store this in a custom field ot type text

{{[date1].diff([date2]).prettyPrint}}

1 vote
YY Brother
Community Champion
September 12, 2025

Hi @Orkun Ovayurt 

Welcome to our community.

Solution A:

1.Create a custom field called Lead Time

2.Create an automation rule to calculate the lead time when jira work items are resolved

now() - issue.created = lead time

In the Edit Issue action, set the lead time to above calc value

 

Solution B:

Some apps maybe.

Hope it helps,

Thanks,

YY Brother

Suggest an answer

Log in or Sign up to answer