Hi, I want to capture the time or date of changing the issues to an exact status. We prefer using API. Could anyone make some suggestions? Thank you.
Hello @Jason Liu
The timestamp of status change is by default captured in Jira and can be used in reports.
Could you please explain the use case and usage for capturing the time or date of changing the issues to an exact status?
Adding to what Gaurav mentioned this is already stored in your issue history section of the page. There are possible workarounds for fetching it via an API such as saving this in a custom field but understanding your context of usage here would help with advising how to proceed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User is using it to do data analysis. We couldn't add field any more. So could you suggest specific API instruction or other solutions? 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 @Jason Liu
The details are available in the issue history. Also, you can refer to and use the API shared by @Mehmet A _Bloompeak_
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jason Liu
If you would be interested in a ready made solution to view the status transition dates, you can try out our app
Agile Tools - Epic Tree, Links Tree and Time in Status
The add-on provides the time in each status for the entire lifecycle of the issue and you can filter by issue type as well. You can also combine your statuses to define your lead/cycle/resolution time and also extract the transitions history of the issues. The main features of the app 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.
Hello @Jason Liu,
Our team at OBSS built Timepiece - Time in Status for Jira app for this exact need and more. It is available for Jira Server, Cloud, and Data Center.
Using Time in Status, you can get ready analysis reports from the UI or REST API.
First, your question: Time in Status can give you status transition dates in bulk.
Please note that an issue can visit the same status more than once. So getting the first and last transition dates matters which Time in Status can give both. It can also get you reports showing when an issue LEFT a status. This one is also important to see when was the last time an issue was in a given status.
If you are interested in ready analysis reports, Time in Status allows you to see how much time each issue spent on each status and each assignee.
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 week, month, issuetype etc.
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.
All Time in Status reports can be accessed through its own reporting page, dashboard gadgets, issue view screen tabs, and REST API. All these options can provide both calculated data tables and charts.
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 @Jason Liu ,
The data you need is available in issue history and you can get it using the issue REST API. It provides the exact status change date time for each issue.
/rest/api/2/issue/{issueIdOrKey}?expand=changelog
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are looking for a ready-made solution instead of dealing with Json API response parsing and calculation, you can try Status Time app developed by our team. It provides reports on when status changes happened as well as how much time passed in each status.
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. It has various other reports like assignee time, status entry dates, average/sum reports by any field(e.g. average in progress time by project, average cycle time by issue creation month). And all these are available as gadgets on the dashboard too.
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. 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.
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.