Is there a way to get rid of the cruft from the json result? I don’t care about the color of a status, I simply want the data I asked for.
Example:
https://jira.thingy.com/rest/api/2/search?jql=project=MYPROJ&maxResults=5&fields=key,status
I’d like to simply get something like:
“issues”:[{“key”:“MYPROJ-12794”,“status”:“DONE”}]…
Instead I get all this ‘expand’ and ‘self’ stuff… I don’t want it.
Thanks
Welcome to the Atlassian Developer Community, @KristianBohm!
You are correct in using the fields
query parameter in order to return only the relevant fields to you. Unfortunately, properties like expand
and self
cannot be filtered out as well as the other properties inside the status
field.
Cheers,
Ian
Thanks for the response Ian.
That’s too bad. There is a lot of extraneous elements in the results that results in a much larger file to load into other tools (like Confluence).
-Kristian