Hi,
When I use the following URL
https://<company>.atlassian.net/rest/api/3/search?jql=key=<keyname>&expand=changelog
& expand the change logs histories it contains all the change histories and I want to filter specific values (eg: status, labels) from the changelog.histories.items.field
Is there a way to do it from the URL level?
Thanks,
I'm afraid you can't.
Even the dedicated encpoint for changelogs does not support it: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-issueidorkey-changelog-list-post
So you will have to get all the change logs and filter yourself afterwards if you can. If it's a shell script you could use JQ to parse the json response and keep the elements you really need.
Each language will have its way to do it of course.
Thanks for the response
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.