Forums

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

Issue Full Changelog List in Jira 7.8.1

Jivago December 10, 2018

Hi,

 

I am trying to retrieve all the changelogs related to an issue. Nevertheless I can't use this webservice: /rest/api/2/issue/key/changelog because it isn't available in our current server. (on-premise). It is running jira 7.8.1

 

Basically, I need to go through all the changelogs if total > maxResults

 "changelog": {
"startAt": 0,
"maxResults": 100,
"total": 2406,

 

I already tried to use pagination in the search webservice (/rest/api/latest/search): (changelog.startAt: 1, 2, 3.. etc)

{{
"jql": "id = 12401",
"startAt": 0,
"maxResults": 1,
"expand": [
"changelog"
]
}}

And I also tried to use pagination in this webservice

/rest/api/2/issue/12401?expand=changelog


Any help? I would really appreciate, Thank you! Jivago

 

 

 

2 answers

1 accepted

2 votes
Answer accepted
Fazila Ashraf
Community Champion
December 11, 2018

Hi @Jivago

There is a nice pagination example in https://community.atlassian.com/t5/Jira-Software-questions/REST-API-Changelog/qaq-p/925866# 

What are you seeing the issue with ?

Jivago December 11, 2018

Hi Fazila,

 

Our jira on-premise server doesn't have this webservice: rest/api/2/issue/key/changelog and we can't run an update on it.

Fazila Ashraf
Community Champion
December 11, 2018

 

Oh sorry, i only tried the expand=changelog in /rest/api/2/issue/key to also get the changelog. But reading more about it i realize that it returns only limited numbers

Jivago December 11, 2018

Hi Fazila, Thank you for your response. I really appreciate it. I was wondering if i could paginate using this expand=changelog

Sanjay Shukla March 3, 2025

@Jivago , did you get the answer on how to apply pagination in the change log?

0 votes
OliverRC
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2020

This is still not a feature of JIRA Server and I've found a number of issues logged which have been ignored. Is the changelog endpoint ever coming to JIRA Server?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events