Good day everyone. I need to get changelog info for the issue in jira via rest api
Jira version 8.5.10
access to jira via url as follows https://jira.<domain>.com so it is locally deployed jira without cloud access
I've checked the documentation for corresponding version and unfortunately I couldn't find such endpoint
Is there any other way how I can get changelog via rest API?
Hi,
Take a look at our Jira Server REST API reference document for 8.5 over in https://docs.atlassian.com/software/jira/docs/api/REST/8.5.0
You can find this information under the endpoint of GET /rest/api/2/issue/{issueIdOrKey} However in order to get back changelog info on an issue, you need to use the expand parameter. If you were using curl to make these REST calls it might looks something like this:
curl -u admin:password \
-H "Content-Type: application/json" \
"http://jira.example.com/rest/api/2/issue/SCRUM-10?expand=changelog"
I hope this helps.
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.