Forums

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

Find duration between "Start Time" and "End Time "

Mariam Revishvili
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 4, 2023

I have added 2 custom fields in the Jira task. "Start Time" and "End Time" 

I use these fields when the task type is "Maintenance". I want to calculate the duration of the maintenance and have the duration. (Preferably as an additional field). 

When I export, with the filters page, it only exports the dates and times when the task was created and resolved. 

I need "End Time" - "Start Time". So the Subtraction of the 2 customer fields

3 answers

1 vote
Sayed Bares _ServiceRocket_
Community Champion
September 4, 2023

@Mariam Revishvili welcome to the Atlassian community!

To export the end time - start time, you have a couple of options:

  1. Create another text field and then use automation to update the duration text field whenever start time or end time is changed
  2. Use an app which supports scripted fields so you can calculate the duration automatically:
  3. Export your issues in a csv format and then find the end time - start time in a spreadsheet app like excel
0 votes
Emre Toptancı _OBSS_
Atlassian Partner
September 27, 2023

Hello @Mariam Revishvili ,

A manual solution to calculate these times will be very hard (and so expensive) to build and maintain. It also won't work for past issues. Actually, the data needed for such a report is available in each issue's history but Jira does not present this as a ready-to-use report. I suggest you use a marketplace app for this.

 

Our team at OBSS built Timepiece - Time in Status for Jira exactly for this. It is available for Jira Server, Cloud, and Data Center.  

Time in Status mainly allows you to see how much time each issue spent on each status or each assignee.

tisCloud_StatusDuration_LeadTime_with Estimates.png    tisCloud_AssigneeDuration.png

You can combine the time for multiple statuses to get metrics like Issue Age, Cycle Time, Lead Time, Resolution Time etc. 

For all numeric report types, you can calculate averages and sums of those durations grouped by the issue fields you select. For example total in-progress time per customer or average resolution time per sprint, week, month, issuetype, request type, etc. The ability to group by parts of dates (year, month, week, day, hour) or sprints is particularly useful here since it allows you to compare different time periods or see the trend. 

tisCloud_StatusDuration_LeadTime_Average_TimeGrouped.png

The app calculates its reports using already existing Jira issue histories so when you install the app, you don't need to add anything to your issue workflows and you can get reports on your past issues as well. It supports both Company-Managed and Team-Managed projects for Jira Cloud.

Time in Status reports can be accessed through its own reporting page, dashboard gadgets, and issue view screen tabs. All these options can provide both calculated data tables and charts.

Gadget_AverageStatusDurationByComponent.png  tisCloud_StatusDuration_LeadTime_Chart.png tisCloud_IssueView_Data.png

Here is the marketplace page for Time in Status by OBSS:

Timepiece - Time in Status for Jira

EmreT

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
September 4, 2023

Hi @Mariam Revishvili

Welcome to the Atlassian Community!

If you prefer to use a marketplace app, you can try Status Time Reports app developed by our team. It mainly provides reports and gadgets based on how much time passed in each status.

Here is the online demo link, you can see it in action and try without installing the app. For further details, please see Status Time Reports How to Videos.

  • This app has a dynamic status grouping feature so that you can generate various valuable reports as time in status, time in assignee, status entry dates and status counts, cycle time and lead time, average/sum reports by any field(e.g. average in progress time by project, average cycle time by issue creation month).
  • You can search issues by Project, Issue Type, Status, Assignee, Issue Creation/Resolution Date(and any other Date field) and JQL Query.
  • Status durations are calculated according to the working calendar you define. Once you enter your working calendar into the app, it takes your working schedule into account too. That is, "In Progress" time of an issue opened on Friday at 5 PM and closed on Monday at 9 AM, will be a few hours rather than 3 days.
  • You can set different duration formats.
  • You can export reports in CSV file format and open them in MS Excel.
  • You can also add this app as a gadget to your Jira dashboards and reach “Status Time” from Issue Detail page.
  • You can enable/disable access to Status Time reports&gadgets and Issue Detail page per project, users, groups or project role.

If you are looking for a completely free solution, you can try the limited version Status Time Free.

Hope it helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events