Forums

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

Time Difference calculation in JIRA using smart values

Akash March 14, 2025

Hi All, Can you please let me know how JIRA is calculating the Time difference:

 

Assigned to Dev

Mar 11, 2025, 1:31 PM

 

In Progress Transition

Mar 15, 2025, 10:53 AM

Time Difference = 93h 5602m


 

It seems the Jira is not taking the current 8 hrs/day time set in the time tracking. Please take a look at the screenshots once.

So Working hours per Day is set to 8 hrs, but the difference is way more than what It should be.


Time Difference.pngTime Tracking.pngTme Difference Rule.png

 

 

1 answer

3 votes
Duc Thang TRAN
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.
March 15, 2025

Hello @Akash 

This smart value calculates the time difference without considering your working hours or holidays but with  .businessDays to calculate the difference in days, excluding weekends.

Also, your calculation isn’t accurate. You’re calculating the difference in hours and then again in minutes, which effectively doubles the time.

My suggestion:

  • If you are using Jira Software, you’ll need a plugin to manage SLAs.
  • If you are using Jira Service Management (JSM), you can take advantage of the built-in SLA feature, which calculates time while considering working hours and holidays.

 

Hope this can help 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events