Hi
I have been trying to extract the date and time info of the status which changed to verify using REST api. I couldn't find the valid transition/history page extraction through API.
Please help on this issue.
I am using CURL commands to work on the APIs.
You can include the changelog in your request which might help. For example: `/rest/api/latest/issue/demo-1?fields=status&expand=changelog`
See: the expand property in the docs here. https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get
This will only give you the most recent changes and it will include every field. Alternatively for all changes you can use the changelog api: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-changelog-get
You'll need to page through the whole log looking for status changes.
Alternatively if you're just looking for issues that changed status at a particular time you could try the CHANGED operator in JQL and search for the issues like this: `status CHANGED FROM "In Progress" TO "Done" AFTER "2022-01-01"`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.