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"`
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.