Forums

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

Query that will return all of the tickets what time is the status changed FROM 'StatusA' TO StatusB

Prathima December 21, 2023

write a query that will return all of the tickets what time is the status changed FROM 'StatusA' TO 'StatusB'

 

it should give date/time of a particular state start and end dates... StatusA end date or may be StatusB start date...

3 answers

1 vote
Valeriia_Havrylenko_SaaSJet
Atlassian Partner
December 27, 2023

Hi  @Prathima 😌

If you are already migrated to Cloud, as an alternative, you can try - Time in Status for Jira Cloud, (developed by my team) that generates 7 types of status reports including Status Entrance Date report. It shows the date a particular issue has entered each of a status (Resolved or Closed, etc.).

9e9e93ff-9254-4123-8774-817cc45b769d.png

  • set date or date ranges you need
  • get dates when the issue has entered each of the statuses on the grid.

 
On the chart, it shows the number of tasks that have entered a status on a certain date - for example, 1 task out of 5 tasks has entered the Progress status for the first time on the 23-rd of May.

 5f12830b-97ce-442c-ae4c-f964e527c72c.png

Add-on has a 30-day free trial version and free up to 10 users
Please, let me know if you have any questions

Hope it helps 😌
Valeriia

1 vote
Mohammed Aamer Khan
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.
December 21, 2023

Hi @Prathima

Their is no such field available defaultly in Jira. Either you can create field to store date in them or you can use market place apps to achieve it. Following mentioned add-on you can use which will provide you required details Time in status 

Prathima December 21, 2023

Thankyou, will look into.

Like Mehmet A _Bloompeak_ likes this
Mehmet A _Bloompeak_
Atlassian Partner
December 30, 2023

Hi @Prathima

As @Mohammed Aamer Khan suggested, you can try Status Time Reports Free app developed by our team. It is a completely  free solution and the limited version of  Status Time Reports app.

Status Time Reports app 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 your case, you can have a look at Status Count And Entry Dates report. Entry date(see In Development, Ready for Testing, In Testing, In Development columns.) is status transition date and status count(see #In Development, #Ready for Testing, #In Testing, #In Development columns) is how many times an issue is entered to this status.

App Features:

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

For further details, you can have a look at Status Time Reports How to Videos.

Hope it helps.

0 votes
Gizem Gökçe _OBSS_
Atlassian Partner
January 1, 2024

Hello @Prathima ,

Jira does not provide this functionality out-of-the-box. JQL queries can "filter" issues but they do not show transition dates as columns in their result set. The required data is available in each issue's history but you will need to use a marketplace app to get ready-to-go reports.

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

Time in Status has duration-based and date-based reports.

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

Report Types Assignee Duration.png Report Types Status Duration Report.png 

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

Report Types DBS.png

You can also use the date-based reports to see the transition dates from/to a status

Report Types FT from Status Date.png Report Types FT to Status Date.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.

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. Also you can export the reports in to various formats easily. 

Visit Timepiece - Time in Status for Jira to explore how our JIRA add-on can revolutionize your metrics measurement process. Enjoy a 30-day free trial to experience the full range of features.

If you wish, you can also schedule a live demo. We will provide a comprehensive overview of the application and address any inquiries you may have.

Hope it helps,

Gizem

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22.4
TAGS
AUG Leaders

Atlassian Community Events