We are using search api call, similar to
/rest/api/3/search?expand=names,schema,changelog,transitions&fields=*all&startAt=0&maxResults=100&changelog.startAt=100&jql=project+%3D+{project_name}+order+by+updated+ASC
We have a few issues with histories having more than 100 changelogs. But we are only getting the hundred latest logs. Is there anyway to get the older hundred changlogs using the search api itself.
We need to get the changelogs for all issues in a project and hence have ruled out the use of
/rest/api/3/issue/{key}/changelog?startAt=101&maxResults=100
Hi @Gangadhar Dalli -- Welcome to the Atlassian Community!
I believe you are correct: since the change was made in 2017 to limit the returns to 100 entries, the only way to get the other entries is using the single issue call with pagination.
You may also search in the developer community area to see if there are work-arounds others have found: https://community.developer.atlassian.com/
Kind regards,
Bill
We went ahead with this API itself : /rest/api/3/issue/{key}/changelog?startAt=101&maxResults=100
We got the list of issues with changelogs>100 and looped through the number of issues fetching 100 at a time. Took a bit of a performance hit but that was the best we could do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As an alternative solution, you can try the Issue History for Jira app developed by my team. There is no limit on the number of issues you can get changelog and export here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yuliia_Borivets__SaaSJet_ .. This is interesting. Are there any APIs written that we could use to get this. We need to do this on a daily basis and sort of want to automate the entire process.
Thanks !
Gangadhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue History add-on itself represents the full issue changelog. You can filter it by project, sprint, assignee, dates, etc., and create the report you need. Export takes a few button clicks. You can get everything without writing APIs here.
There is a 30-days free trial, so you can check if it can fit your case.
If you have more questions, let me know here or contact our support team.
KR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We use the histories as only one of the datasets. We need to pull in the data in an automated way everyday. I think that a plugin/add-on might not be a solution to us because we need it to fit into our project.
Thankyou.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see. Sorry, don't know much about automation. Hope you will find a way to solve your case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.