I am trying to monitor when the status of an issue changes, right now I am considering polling the issue using the Jira REST Api on (http://example.com:8080/jira/rest/api/2/issue/{issueIdOrKey}. This gives you the current status of a ticket and when it was updated (any update, i.e. new comments, attachments).
Example:
... fields { ... updated: "2011-08-07T09:08:16.000+0100", ... status { self: "http://example.com:8080/rest/api/2/status/5", description: "A resolution has been taken", iconUrl: "http://example.com:8080/images/icons/status_resolved.gif", name: "Resolved", id: "5" } ...
In order to know when the issue has changed state I have to keep polling the status it to see if its changed. Is there a way of know exactly when the issue status was updated? Jira comments gives 'updated/created' fields, so you know when they have been edited or created.
I thought about getting the transition data to see if that showed any dates, but nothing here either:
http://example.com:8080/jira/rest/api/2/issue/{issueIdOrKey}/transitions
I looked at the SOAP Api to see if it was in there, but I don't think it is! It seems like its not in the Api at all.
Thanks!
Community moderators have prevented the ability to post new answers.
You can use the search function using JQL. JQL will be something like this (to get issues where status was changed in the last 5 minutes):
status changed after -5m
You can then restrict it to selected issues or projects or whatever you like.
Hi, Is the link still pointing to the right page. I am looking for an option to find all issues that are updated/created in last 5 minutes
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.