I need to retrieve the full History (issue change log) for a Jira ticket using an API.
I’m currently using the Jira REST API to fetch ticket details, but the history section is not included in the default response.
What is the correct API endpoint or request parameters to include the issue changelog in the response?
Hi @Vignesh G
You can get the full history on the issue response (along with the jira fields) using the expand parameter.
GET /rest/api/3/issue/${issueIdOrKey}?fields=${fields}&expand=changelog
If you just need the history for one issue together with some fields, use
GET /rest/api/3/issue/{issueIdOrKey}?expand=changelog.
The changelog will be in changelog.histories in the JSON.
Hi Vignesh,
This is the endpoint you'll want to use!
{{baseUrl}}/rest/api/3/issue/{issueIdOrKey}/changelog
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.