Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

/rest/api/2/issue/{issueIdOrKey}/changelog returns 404, but /rest/api/2/issue/{issueIdOrKey} works

Igor Vasilyev September 30, 2024 edited

/rest/api/2/issue/{issueIdOrKey}/changelog returns 404, but /rest/api/2/issue/{issueIdOrKey} works

v9.12.12#9120012

 

 

{
"message": "null for uri: https://<URL>/rest/api/2/issue/<ISSUE_ID>/changelog",
"status-code": 404
}

1 answer

1 accepted

1 vote
Answer accepted
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2024 edited

Hello @Igor Vasilyev 

What you are observing is the expected behaviour, since Jira Server / Data Center don't support getting issue changelogs via the REST API, only Jira Cloud does.

If you Google 'Jira /rest/api/2/issue/{issueIdOrKey}/changelog' the very first result returned is the thread on this forum where the answer to your question has already been provided.

Google is great. You should try it sometime.

Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2024 edited

You're reading the wrong documentation.

That link is for Jira CLOUD documentation. You are using Jira DATA CENTER, They are not the same thing.

It would be better if you Googled 'jira data center rest api documentation'

Have fun. Bye,

Igor Vasilyev October 1, 2024

you're correct there is no changelog for data center. Thank you

Suggest an answer

Log in or Sign up to answer