Forums

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

Unable to get complete change log via rest call

Ash
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.
July 24, 2019

Hi Team,

 

We are using below rest call to pull the change log history, but we can't get complete history using this,  it pulls only 100 change log records.

https://xxxxx.atlassian.net/rest/api/2/search?jql=issuekey=JA-8142&expand=changelog

 

Is there any way we can get complete change log history or any other workarounds.

 

We are on Jira Cloud.

 

TIA! 

1 answer

0 votes
Thomas Deiler
Community Champion
July 24, 2019

Dear @Ash ,

you can work-a-round by pulling the changelog directly instead of the search:

GET  /rest/api/2/issue/JA-8142/changelog 

So long

Thomas

Ash
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.
July 24, 2019

Thank you @Thomas Deiler 

Actually we use Jira filter to pull the data. 

Thomas Deiler
Community Champion
July 24, 2019

The limit of 100 cannot be extended for your rest function. You need to pull each changelog for each issue the filter call will return.

Thomas Deiler
Community Champion
July 25, 2019

Dear @Ash ,

was this answered to your satisfaction?

So long

Thomas

Ash
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.
July 25, 2019

Hi @Thomas Deiler 

Thank you for your reply.

This request  GET  /rest/api/2/issue/JA-8142/changelog 

I see the same results with this call as well.

 

We use api to pull set of data from jira cloud to our Tablue to create reports. I don't think it is a good idea to pull the results using each issues key.  

Still looking for the suggestions.

Thomas Deiler
Community Champion
July 26, 2019

Dear @Ash ,

everything is fine with the above request. You have to paginate to get more. This limit has been hard coded to the rest api for cloud. There are no other ways as I have already described.

So long

Thomas

Suggest an answer

Log in or Sign up to answer