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

Your Points Tracker
Challenges
Leaderboard
  • 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
Recognition
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?
Kudos
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

Need ticket aging report

Dear Members,

Hope you doing good.

 

I am looking for ticket aging report which contains total time of ticket from start to resolve without using plugin. 

 

Thanks in Advance

BR,

M faizan

3 answers

0 votes
Olga Videc Community Leader Jun 07, 2021

Hello @Muhammad Faizan 

Unfortionaly you can't achieve this without using the plugin ScriptRunner for example.

You need duration filed, 

If you'll ever need this is the code, tested it work's ;) using it daily.

 

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.Issue


def changeHistoryManager = ComponentAccessor.getChangeHistoryManager()

def createDate = issue.getCreated().getTime();
def resolutionDate = issue.getResolutionDate()?.getTime();
if (resolutionDate == null) {
return null;
}
return (resolutionDate - createDate)/1000 as long;

 

BR, Olga

Selam Muhammad,

As far as I know, it is not possible out-of-the box inside Jira. As an alternative, you can try Status Time app developed by our team. It provides reports on how much time passed in each status as well as status entry dates and status transition count.

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. It has various other reports like assignee time, status entry dates, average/sum reports(eg. average in progress time per project). And all these are available as gadgets on the dashboard too.

Here is the online demo link, you can see it in action and try.

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

Hello @Muhammad Faizan

You can use the built-in Control Chart (that is available as part of Kanban Board reports) about this. It will show you the duration but it does not show individual issues. It is more aimed towards seeing the big picture.

You can also try the built-in Average Age Report or Resolution Time Report. Both are available under project reports or as dashboard gadgets. Unfortunately, both reports also are very high level. They just show daily average data. Average Age Report excludes resolved issues and Resolution Time report excludes non-resolved issues. 

The final option might be to export the data as an excel file and do the calculations in Excel manually.

 

I know you said you want to solve this without an app but for those who can use an app (and in case you change your mind), our team at OBSS built Time in Status app for this exact need. It is available for Jira Server, Cloud, and Data Center.

Time in Status allows you to see how much time each issue spent on each status or assigned to each assignee. You can also combine statuses into consolidated columns to see metrics like Ticket Age, Resolution Time, Cycle Time, or Lead Time. For example, you can add a column to the report that includes all statuses in your workflow (except resolved and closed) and see the total time between creation and resolution of the issue.

You can calculate averages and sums of those durations grouped by the issue fields you select. (For example, see the total InProgress time per Epic or average Resolution Time per issue type). 

tisCloud_StatusDuration_LeadTime_with Estimates.png  tisCloud_StatusDuration_LeadTime_Average.png  tisCloud_StatusDuration_LeadTime_Chart.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.

Using Time in Status you can:

  • See how much time each issue spent on each status, assignee, user group and also see dates of status transitions.
  • Calculate averages and sums of those durations grouped by issue fields you select. (For example, see average InProgress time per project and per issue type.)
  • Export your data as XLS, XLSX, or CSV.
  • Access data via REST API. (for integrations)
  • Visualize data with various chart types.
  • See Time in Status reports on Jira Dashboard gadgets (released for cloud, server&DC gadget coming soon)

https://marketplace.atlassian.com/1211756

EmreT

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

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