Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I would like to track the amount of time a story is in the "blocked" status on the sprint workflow. I am going through the jira automations and am having trouble determine how to do this. Please let me know if this is possible and how.
Hello @Zarshah Rashid
Welcome to the community.
Please specify if you are using Jira Cloud or Jira Server/Data Center.
Are you trying to create a custom solution for tracking the amount of time an issue is in the blocked status, or are you open to using a third party app to get that information?
If you are building an Automation, please show us what you have built.
Hello,
I believe we use Jira Server/Data Center. I am attempting to create an automation rule for my jira project in the "Project Automation" tab in Project Settings. If there is a third party app, I'd be interested in learning about that as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are a few third party apps available to get information about the time an issue spends in a status. See this result of searching the Atlassian Marketplace:
https://marketplace.atlassian.com/search?hosting=dataCenter&product=jira&query=time%20in%20status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Zarshah Rashid
If you're using a server version, you can try Time between Statuses (server) to track the time spent in a particular status.
All you need is to set a status you want to track the time in as Start and Stop timers.
This add-on is developed by my SaaSJet team. Please, let me know if you have any questions.
Hope you find it helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this possible without using a marketplace plugin? Can Jira's (data center) automation feature be used instead? Or maybe Scriptrunner can do the same?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @sctr.cee,
There is a KB article on how to use Automation rules to track a Jira issue's time spent in a particular workflow status:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The article you provided says it is applicable to Jira Cloud while the user said they are using Jira Data Center.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Trudy Claspill,
I updated the KB article to include the Server and DC versions running with A4J version 9.0.3 or higher.
I modified the KB article's rule to cover an edge case, where the numeric field is EMPTY. I also included exported rules and demo videos for both Cloud and DC versions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to Atlassian Community!
As an alternative, 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.
If you are looking for a free solution, you can try the limited version Status Time Free.
Note: If you are interested in cycle and lead time, you can have a look at the article below.
Cycle Time and Lead Time in Jira: Productivity Measurement with Two Critical Parameters
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 @Zarshah Rashid,
I've got the perfect solution for you that will give more that what you asked for.
Our team at OBSS built Timepiece - Time in Status for Jira for this exact need. It can even give you times for block reasons. The app is available for Jira Server, Cloud, and Data Center.
Time in Status mainly allows you to see how much time each issue spent on each status and on each assignee. You can use the Status Duration report to see the times for block status and other statuses.
In addition to these, Time in Status has two other report types that will meet your need.
First, Time in Status has Any Field Duration report type. This report type asks you to select an issue field and can display "how long that issue field had each value". For your case, you can create a custom field named "Block Reason", populate this field every time the issue is blocked, and clear this field every time the block is removed. This way, you can use the Any Field Duration report and see how long each issue was blocked for each reason.
This report type also has a sibling report: Any Field Count. This report type does the same calculation but instead of displaying the times, it shows how many times each value was used. In your case, you can use this report type to see how many times each issue was blocked for each reason.
For all numeric report types, you can calculate averages and sums of those durations grouped by the issue fields you select. For example total in-progress time per customer (organization) or average resolution time per sprint, week, month, issuetype, request type, etc. The ability to group 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 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.
Using Time in Status you can:
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.
Hi @Emre Toptancı _OBSS_
Is it possible to access the status totals calculated by your app by automation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Yaron Azar
Currently, there is no integration between our app and Jira Automation, mainly because Atlassian doesn't have automation integration points for marketplace apps yet. We are eagerly waiting for that.
There is a feature request made to Atlassian about this. I suggest you watch it and vote for it:
https://jira.atlassian.com/browse/CLOUD-10966
Beyond that, you can get Time in Status data via REST API and Automation has a "Send Web Request" action. You might get something out of those but the chance of success depends on your specific case and requires work.
Please let us know if you can build something that actually works. In the meantime we will keep working on this problem.
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community !!
If you are fine with a mktplace app, you can try out our add-on to get this data.
For DataCenter pls try out
The main features are as below
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.