Can someone advise on a jql for "how many times an issue has gone into a particular status"
Hello @Jiten Khanna 👋
For anyone looking for an answer to this question,
as an alternative , I guess you can try Time in Status for Jira Cloud (developed by my SaaSJet team) with 7 types of status time reports.
For your exactly need we have Status Count report or Transition Count report
The Status Count report shows how many times an issue has been in each status.
Chart view of report:
The Transition Count report shows how many times an issue has moved between all statuses in the workflow.
Chart view of report:
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
Hi @Jiten Khanna - Unfortunately, you're not going to get that natively from JQL. JQL can only provide that an issue has been in a status... Not how many times.
If this is something you wish to track, you may want to consider using a custom numeric field and automation. Here's how it could work for an example scenario where I want to track how many times an issue has transitioned to "In Progress" (my custom field would be called Times In Progress):
{{issue.Times In Progress.plus(1)}}
From here, I could do JQL like this to show issues that have transitioned to In Progress more than once:
"Times In Progress" > 1
I could also add it as a column in a search or use it in a dashboard gadget.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Kian Stack Mumo Systems for recommending Status Time Reports app.
You can get this information with 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. 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.
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 Free.
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.
Hello @Mark Segall thank you for your inputs, I'll try your suggestion also for the Automation rule is that the only condition/action which is needed, please advise.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jiten Khanna
If you are OK with using a marketplace app for this, our team at OBSS built Timepiece - Time in Status for Jira for this. It is available for Jira Server, Cloud, and Data Center.
Time in Status mainly has several types of time reports (showing how much time each issue spent on each status, assignee, or group) but the app also has Status Count and Transition Count reports. These reports show how many times each status and each transition was used by each issue.
For all numeric report types, you can calculate averages and sums of those values grouped by the issue fields you select. Grouping 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 screenshot below shows a trend report sample for durations but you can do the same for status or transition counts)
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.
Timepiece - Time in Status for Jira
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A mktplace app can help you to get this data.
You can try out our add-on
The below report show the status count for each issue which will meet your use case.
Disclaimer : I work for RVS, the vendor for this app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.