Could you please tell me which API call we should use to retrieve the the time a transition occurred on a specific issue or issue type?
Ideally, we'd like to see the time a ticket was in each status.
https://docs.atlassian.com/jira/REST/server/
JIRA: 7.3.1
Hello,
If you use Jira Java API then you have to use ChangeHistoryManager.
If you use Jira REST API then you can use GET /rest/api/2/issue/{issueIdOrKey} with expand=changelog
You cannot get it directly thru REST. So only one way to get it thru REST, as advised by Alexey:
https://docs.atlassian.com/jira/REST/cloud/?_ga=2.165222972.2057262106.1509345982-971217003.1491992739#api/2/issue-getIssue
And then iterate over changelog of each issue and calculate time in each transition.
Thank you!
Thank you!! Used - /rest/api/2/issue/{issueIdOrKey}?expand=changelog
It looks like you're new here. Sign in or register to get started.