How to calculate time in Status with JQL

Lucca Fernandes March 8, 2024

E ai pessoal, estou querendo extrair uma informação da minha base do JIRA para poder fazer alguns filtros de eficiência no excel. 

 

De forma resumida, queria saber se consigo extrair para excel via JQL a informação de quanto tempo um determinado ticket ficou no status, ou a quanto tempo ele esta no status atual.

 

Sei que temos algo semelhante de forma nativa nos dashboards do JIRA como tempo médio no status.

6 answers

2 votes
Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 8, 2024

Hi @Lucca Fernandes

an issue's time in a certain status isn't easily available in Jira; you'd really have to look into the issue's history, and do the math yourself.

There are, however, a number of Marketplace Apps that operate in this space. 

As an example, my team and I work on an app in which your use case would be easy to solve, 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 time in [status], time between [status] and [status], and many more.

This is how it looks in action:

time-in-status-v2.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.

You can also export your time in status data to Excel in just one click.

Any questions just let me know,

Best,

Hannes

2 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

Hi @Lucca Fernandes ,

Há muitas postagens dentro da comunidade sobre como extrair tempo no status Jira. Em última análise, somos muito limitados em poder fazer isso sem um complemento. Eu encorajaria você a pesquisar na comunidade para obter várias recomendações sobre tais complementos.

1 vote
Valeriia_Havrylenko_SaaSJet
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 12, 2024

Oi @Lucca Fernandes 👋 

Infelizmente, não há como encontrá-lo com o gadget nativo, mas consegui com o complemento.

Gostaria de recomendar o complemento Time in Status for Jira por SaaSJet. Esta ferramenta permite visualizar toda a duração de um problema, desde o momento em que foi aberto até o fechamento, com o relatório Time in Status. 
image.png

Você também pode baixar dados para análise posterior usando o complemento.
O complemento tem uma versão de avaliação gratuita de 30 dias e é gratuito para até 10 usuários.
Por favor, deixe-me saber se você tem alguma coisa. 

Espero que ajude 😌

0 votes
Bloompeak Support
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 8, 2024

Hi @Lucca Fernandes

Unfortunately, it is not possible to extract Time in Status info with built-in JQL. 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. For your case, you can have a look at Time in Status for Each Issue report.

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

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

If you are looking for a completely free solution, you can try the limited version Status Time Reports Free.

Hope it helps.

0 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.
March 8, 2024

Hi @Lucca Fernandes 

You can use Jira Rest API to pull this data or if you are open to try out a mktplace app to get this data, you can take a look at 

Time in Status Reports 

One of the many reports which the app provides is Time in Status in hours/days to determine , how much time the issue spent in each status in the complete lifecycle of the issue. You can group your statuses to define your own issue resolution time. The app has 20+ reports to track your bottleneck Issues & Processes.

Disclaimer : I work for the vendor who built this app

TIS-1.png

0 votes
Gizem Gökçe _OBSS_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 8, 2024

Hello @Lucca Fernandes ,

Unfortunately, there is no way you can do this with standard JQL. In order to get the results that you desired you have to use a marketplace app. If you are ok to use a marketplace app for your reports, Time in Status which is developed by my team at OBSS, is the tool I would highly recommend. It is available for both Jira Cloud and Data Center.

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

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

SS4.png

Visit Time in Status to explore how our JIRA add-on can revolutionize your reporting 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
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events