Forums

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

JIRA REST API Server search with changelog

Joanna Waligora
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!
August 23, 2023

I'm attempting to combine a JQL search with specific changelog detail. The problem I'm running into is not being able to get at the changelog parameters.

End game would be to return the change history of a single field across all issues returned by the JQL query (simplified here to just a project name). 

I know I can loop though changelog on a per-issue basis, but I'm intentionally avoiding it because of the software and rest api connector I'm using.

This is my starting query, which works just fine:

/rest/api/latest/search?jql=project=abc&fields=summary&expand=changelog

However, trying to control maxResults only does so for the JQL portion not the changelog portion. Same goes for specifying field names. 

Is there a way to access changelog parameters like changelog.fields=<fld> or expand=changelog.histories.<fld>?

Thanks,
J.

0 answers

Suggest an answer

Log in or Sign up to answer