Forums

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

How to get the ageing of the jira defect based on the status

Pavan Thota iGTB
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!
May 31, 2025

How to get the ageing of the jira defect based on the status
For example
JIRA status is moved from To Do to Analysis and then moved to Resolved
I want to know the how many days this defect is lying under resolved state

4 answers

1 vote
Piyush Annadate _ACE Pune_
Community Champion
June 1, 2025

Hello @Pavan Thota iGTB .
Welcome to the Community !
Ageing of a ticket is based on different case (A) From created to resolved (B) Time in status.
Unfortunately, there is no way you can find with native features, but you can achieve it with JQ

Just for Resolved state, you can calculate by having a custom field in number that would have an value as when it is moved to resolved state, then do a date different in days from RESOLVED - CREATED.

Also, there are add-on as mentioned here 

Also, you can eventually have some scripts written that would check the issue history/change log, get the status changes date and do calculations.

You can also check additional comments here 

0 votes
Rahul_RVS
Atlassian Partner
June 2, 2025

Hi @Pavan Thota iGTB 

Welcome to the community !!

If you would be interested in a mktplace solution to get issue time in status, you can try out our app.

Time in Status Reports 

With this app you generate time in each workflow status for multiple issues with multiple filter and grouping options. The app has 20+ reports to meet a variety of use cases.

More details here.

Disclaimer : I am part of the app team for this add-on

TIS.png

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
June 2, 2025

Hi @Pavan Thota iGTB

Welcome to the Atlassian Community!

Jira doesn't have a built-in solution for "time in status" info. The raw data you need is available in issue history and you can get it using Jira Rest API. It provides status changes for each issue by returning a json which you need to parse.

If you prefer using 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.

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, resolution time, average/sum reports by any field(e.g. average in progress time by project, average cycle time by issue creation month).

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

App Features:

  • 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 Reports Free.

If you have any questions, feel free to schedule a call with us.

Hope it helps.

0 votes
Danut M _StonikByte_
Atlassian Partner
June 1, 2025

Hi @Pavan Thota iGTB,

Welcome to the Atlassian Community!

Curious about your use case... Why would you need to measure the time a bug lying under resolved state. Once a bug is resolved, you should not care about it.

As far as I know this cannot be measured by using the Jira's native gadgets and reports. So a solution would be to search for a plugin on Atlassian Marketplace. 

In case you want to try a plugin, you can easily measure this by using the Time in Status gadget offered by our Great Gadgets app.

All you have to do is to configure it with the JQL/filter that returns the bugs, and eventually choose to include only the Resolved status.

image.png

The gadget also displays a Data tab with the time in Resolved status for each issue, which you can easily export in CSV. 

image.png

Danut.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events