Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I query on number of times in a status?

I'd like to find the number of times issues were moved to a particular status type that would result in a count - e.g. 3 times in status x.


How do I structure that?



7 answers

4 votes

You can not do it in Jira interface. But you could use Jira Rest Api to receive the history of an issue and find the number of times the status was changed to the required status in Excel or other similair application. You would need to use GET /rest/api/2/issue/{issueIdOrKey}  with changelog option. You can find more info here:

Hi Alex,

The rest api produces a result which is similar to below.

How can align that to excel view.


Filter for status.PNG

2 votes
Meg Holbrook Community Leader Mar 07, 2018

There might be an easier way than mine, but here is how I do it: (I also employ AIO reports addon for reporting)

Filter: project = EncompassHelpDesk and status was "Waiting for support" during ("2018/02/01","2018/02/28")

Once results are exported to excel, I create a pivot table and group by key. 

Result is a table that shows how many times each issue was in (my case) waiting for support. 



Hi @Meg Holbrook, I ran the above query and got the results, but each issue only appeared once, so I can't do the count, even though I'm very sure that they had moved to the status several times. I don't have AIO report. Thanks.

Like David_Leal likes this
Meg Holbrook Community Leader Oct 03, 2018

Hey @Kenny Nguyen - did you expand your date range enough to capture all the possible times it would have transitioned into that status?


is it still working? because im not able to do it , i have same problem as Kenny. I exported but  all tasks are mentioned only once. i dont have AIO reports ... is that the problem ? Thank you 



Like David_Leal likes this

I have the same problem, I get only one entry per issue key. When I exported the excel file I export all fields, I get some dates, such as: Created, Updated, Las Viewed and Original Entry Date, but I don't see a way to get the historic information each time a given status was reached in the line I have exported.

The problem that the query (excel file) will only capture the latest status of the issue, not all statuses that the issue was in! 

I am not sure how the JQL worked for @Meg Holbrook  Please Advice. 

Meg Holbrook Community Leader Jun 16, 2020

The important part is in bold, which should pull the same issue multiple times.


project in (_________) AND issuetype = "Service Request" and status was "Waiting for support" during (startOfMonth(-1), endOfMonth(-1))

You can make use of the Easy BI plugin to do these kinds of aggregations.

Meg Holbrook Community Leader Mar 08, 2018

Am I the only one who doesn't consider eazybi to be incredibly user-friendly?

Maybe I'm reporting-challenged.

I agree that eazybi is not incredibly user-friendly. However, it does help us do a lot of reporting right within JIRA. In the earlier case, we had to do all of the complex reporting by syncing the issues with a database and then use Tableau to do the complex reports.


you can have a look at our free add-on Status History which will show you history of statuses for each issue - more details you can find here.

If you need to generate report or analyze data regarding issue statuses, you can also try Status History PRO, which has reports (especially Changing Status History Report in your case) and  customizable viewer.


Lime Trees Support Team

Thanks it a great solution, but is paid version and we already pay for having Jira. This is something we may expect having out of the box in Jira, because if we can design a workflow we would like to know when you reach a particular status and how many time is reached. 

Like # people like this


I want to get the status of an issue without opening the Jita site, directly into excel. Can someone share the van for it. Many thanks 

Hello @Imran 

The add-on Time in Status for Jira Cloud by SaaSJet can meet your expectations.

It generates such reports (all of them are available for export):

- Time in status - automatically determines for how long your issues had been staying in each status

- Status Count - shows how many times an issue has been in each status

- Transition Count - shows how many times an issue went from status to status

Also, this app will show you: Average time in status, Assignee time, Status Entrance Date and Time in Status per Date.

All data from reports you can view as tables or as charts.



You can use Time in Status by OBSS, which creates reports showing how many times each status or transition was used. It also shows how much time each issue spent on each status, assignee or group. Can export data as XLS or CSV.

For cloud, you can use Status Time add-on. It generates status count report in addition to status time report.

If you are looking for a free version, you can try Status Time Free.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

4,401 views 12 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you