JQL filter required to capture date changed to "in progress"

Sharon
Contributor
July 14, 2024

 

JQL filter required to capture when the date changed to status "in progress".

6 answers

3 votes
Amay Purohit_RVS
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.
July 14, 2024

Hi @Sharon 

You can use Jira Rest APIs to capture this information or you can use a third party app as well to get this data easily. If you are open to try out one, do take a look at

Time in Status Reports 

One of the many reports which the app provides is Status Transition Details which provides the information of when the issue transitioned to which state and by whom.

The app has 20+ reports to meet a variety of time in status use cases. Do give it a try.

More Details here 

Disclaimer : I work for the vendor who built this app

TIS - Status Transition Details.PNG

Sharon
Contributor
July 14, 2024

Unfortunately, we cannot use 3rd party apps.

Sharon
Contributor
July 14, 2024

Thanks, where can i find more information on "Jira Rest APIs"? As long as i dont have to download anything to my laptop.

Amay Purohit_RVS
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.
July 15, 2024
Like Sharon likes this
3 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 14, 2024

Hello @Sharon 

JQL is a method to select issues, not retrieve dates of status changes.

Can you provide more details about what you are trying to accomplish?

Sharon
Contributor
July 14, 2024

Most of our work goes from status "not started" to "In progress". We want to track the original date that the task was moved from Ira status, not started to in progress. This is a metric on aged tasks. Hope that makes sense.

Like John Funk likes this
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 15, 2024

Hello @Sharon 

As others have suggested you can use third party apps or the REST API to try to get that information.

As a go forward solution you could create a custom field to record the date an issue first transitions to In Progress, and use an Automation Rule to set that field. While you could then use that field in a JQL to select issues, by itself it would not give you a metric about task age.

Like Sharon likes this
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 15, 2024

You could also potentially use Automation Rules to backfill the field in past issue, using the Send Web Request action to make calls to the Jira REST API and then parsing the output to find the data to fill in the field.

I haven't done much with the Send Web Request action myself, but there was an article published on it in 2020:

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Like Sharon likes this
Sharon
Contributor
July 15, 2024

Thanks Trudy, great help!

2 votes
Hannes Obweger - JXL for Jira
Atlassian Partner
July 15, 2024

Hi @Sharon

Jira maintains this information in the issue history (you can see it if you navigate to History in the Activity section of an issue), however doesn't easily surface it in a search result.

If you want to (or have to) rely on native Jira, the only real solution I can think of is to use Jira Automation to capture the transition date, write it into a custom field, and add the custom field to your search result. This article might be a good starting point.

Alternatively, if a solution from the Atlassian Marketplace should become an option for you, you'll find a number of relevant apps there. I'll provide more information below.

Hope this helps,

Best,

Hannes

Hannes Obweger - JXL for Jira
Atlassian Partner
July 15, 2024

To expand on my last point: If you open to solutions from the Atlassian Marketplace, your use case would be easy to solve using the app that my team and I are working on, 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, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of so-called history columns that aren’t natively available, including the date of [first/last] transition from [status] to [status].

This is how it looks in action:

date-of-status-change.gif

As you can see above, you can easily sort and filter by your history columns, and also use them across JXL's advanced features, such as support for (configurable) issue hierarchies, issue grouping by any issue field(s), sum-ups, or conditional formatting.

Of course, you can also export your data to CSV or Excel/Google Sheets in just one click.

This all just works - there's no scripting or automation whatsoever required.

Any questions just let me know!

Sharon
Contributor
July 15, 2024

Thanks but no third-party apps allowed unfortunately.

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
July 15, 2024

Hi @Sharon

Jira doesn't have a built-in solution for status transition dates. 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.

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

To get a report of status transition dates, 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, resolution 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.

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 demo with us.

Hope it helps.

0 votes
Yuliia_Borivets__SaaSJet_
Atlassian Partner
July 15, 2024

Hi @Sharon 

1) As a workaround to capture the status date change, you can check out the Activity Stream gadget (available natively in Jira). There are separate activities to check such as Issue transitioned or Issue progress started.

issue transitioned.jpg

It will capture the date of change for all statuses.

Activity Stream status transition.png

2) You can also check the Issue History for Jira app, which is developed by my team. Here, you can select a specific transition you are interested in.

status changed to in progress.jpg

 

Sharon
Contributor
July 15, 2024

Thank you Yuliia, I wasn't aware of the functionality for the Activity Stream gadget. This could be a good solution!

Unfortunately, it's impossible for me to download third party apps (company policy).

0 votes
Gizem Gökçe _OBSS_
Atlassian Partner
July 15, 2024

Hello @Sharon ,

The required data is available in each issue's history but you will need to use a marketplace app or develop your own solution with Jira REST API to get ready-to-go reports.

If you are ok to use a 3rd party app, that report is available in our application where you can directly learn the transition dates without having to deal with Jira issue histories. The app is Timepiece (formerly Time in Status) , the oldest and leading Time in Status app in Atlassian Marketplace, which is built by my team at OBSS. It is available for both Jira Cloud, and Data Center. 

You can use the date-based reports to see the transition dates from/to a status. In the screenshot below you can see the transition dates of the issues to each status. I think this report will be spot on for your needs.

Report Types FT to Status Date.png

Visit Timepiece (formerly Time in Status) to explore and 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

Sharon
Contributor
July 15, 2024

No third-party thanks.

Suggest an answer

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

Atlassian Community Events