Hi All,
I would want to calculate the aging of a ticket in JIRA. Is their any way to do that. Below is the example which I want to calculate.
Lets Take Creation Date as 1-Jan-2022 and Ticket got closed on 5-Jan-2022, then my ask is to get the difference in das between these 2 dates. Also in case ticket is not closed, then I want difference between the date of creation and current date
Thanks
Kamal Rajpal
welcome to the community!
If you plan to stick with "native" Jira, I can't really think of anything other than Jira Automation to calculate these values and store them into Custom Fields. There may also be reports and/or dashboard gadgets available; e.g. the Control Chart will include some of the information you're looking for (though perhaps not in the requested format).
Alternatively, if you're open to solutions from the Atlassian Marketplace, these two values are available out of the box in JXL for Jira.
JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting and filtering by all your issue fields, plus a number of "special fields" that aren't natively available. Two of these special fields are "time since created" and "time between created and resolved". This is how this looks in action:
It's worth noting that JXL can do much more than that: From inline-issue creation, to advanced features such as support for issue hierarchies, grouping, sum-ups, and conditional formatting. You can also export your data to Excel or CSV with one click, or trigger various Jira operations. Disclaimer: I work on JXL :)
Hope this helps,
Best,
Hannes
Hello @Kamal Rajpal
It's a good solution to use Jira Automation, but additionally to the recommendations above, you can try Time in Status for Jira Cloud.
It generates 7 types of status time reports including the Time in Status one, which shows how long the issue has been staying in each status.
The Status Entrance Date report helps easily track when the issues has entered each of status (the date is displayed on the grid).
Also, in the "Total" column in the Time in Status report, you can monitor Issue Age.
This add-on is developed by my SaaSJet team and is free for teams up to 10 users.
I hope you find it helpfu.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to Atlassian Community!
As an alternative, 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.
If you are looking for a free solution, you can try the limited version Status Time Free.
Note: If you are interested in cycle and lead time, you can have a look at the article below.
Cycle Time and Lead Time in Jira: Productivity Measurement with Two Critical Parameters
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community !!
If you are fine with a mktplace app, you can try out our add-on to get this data.
You can groups your statuses to get the total resolution/cycle time.
The main features are as below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Kamal Rajpal ,
If you are OK with using a marketplace app for this, our team at OBSS built Time in Status for this exact need. 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 and on each assignee.
The app has Consolidated Columns feature. This feature allows you to combine the duration for multiple statuses into a single column and exclude unwanted ones. It is the most flexible way to get any measurement you might want. Measurements 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 (organization) 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.
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.
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.
And the app has a REST API so you can get the reports from Jira UI or via REST.
Using Time in Status you can:
https://marketplace.atlassian.com/apps/1211756/
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kamal Rajpal,
While you cannot configure this out-of-the-box with Jira, you can use plug-ins to create a custom field that calculates the age.
One option I've seen is to use the JWT plug-in that provides calculated number field option where an expression can be written using the issue created date and resolved date.
Hope this helps.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bharathi thanks for mentioning us!
Hi @Kamal Rajpal,
Yes, you can achieve this functionality with JWT calculated number fields!
JWT calculated number fields can display up-to-date information in real time. The necessary configuration for your desired outcome would consist of a simple expression and a display format, which can be selected among several options or customized according to your needs.
The expression for the calculated field that you propose would be:
{issue.resolutionDate}!=null ? {issue.resolutionDate}-{issue.created} : {system.currentDateTime}-{issue.created}
The different default display formats available for JWT calculated fields are the Long duration format and the Short duration format. They would be displayed like in the below pictures.
This tool and many more are included in Jira Workflow Toolbox (Server/Data Center). If you need more information, take a look into our documentation or raise any question via our Support Service Desk. We will gladly help you!
Best regards,
Vicente Domínguez
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.