For Jira Cloud's Work Item's Activity section, which REST API call retrieves the History data?
In Jira Cloud, I navigate to a Work Item and page to the "Activity" section. Then I click on the "History" tab. It's this data I need to retrieve via REST API call.
Thx!
Hi David,
I hope this post finds you well and thanks for using the Community!
I believe you are looking for the GET change log endpoint . This will return a paginated list of all changelogs for an issue sorted by date starting with the oldest.
Depending on what you need you might also be able to leverage the normal GET issue endpoint with the expand=changelog parameter . This will fetch the issue details along with the changelog starting with the most recent events.
Is that what you were looking for? If not I am happy to discuss further.
Best,
Andy
My pleasure David! Take care!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi david gue!
The data you see in the Activity section comes from the issue’s changelog.
To get this history using the REST API, you can use:
GET /rest/api/3/issue/{issueIdOrKey}/changelog
This request will help you get the full changelog for the issue (who changed what and when).
If you ever need an easier way to view and export all change history of multiple issues at once without using the API, you can also try Issue History for Jira app from my team. It shows all changes in a single, clear, and easy-to-read view and enables export to Excel, CSV, and PDF formats.
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.