-
Bug
-
Resolution: Cannot Reproduce
-
Low
-
None
-
Minor
-
Issue Summary
The endpoints rest/api/2/search and rest/api/3/search return an internal server error if you add the following to the call "expand":["changelog"],.
Steps to Reproduce
- Perform a call as the following:
curl --request POST \ --url 'https://<Jira_url>.atlassian.net/rest/api/3/search' \ --user '<EMAIL>:<API_TOKEN>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "jql": "key = SPLAN-79", "maxResults": 15, "fieldsByKeys": false, "fields": [ "summary", "project", "issuetype", "fixVersions", "versions", "reporter", "assignee", "priority", "status", "resolution", "created", "updated", "duedate", "resolutiondate", "timetracking", "timeoriginalestimate", "timeestimate", "parent", "security", "customfield_10014", "customfield_10011", "customfield_10012", "customfield_10020" ], "expand":["changelog"], "startAt": 0 }'
Expected Results
The call works, returning all the data from that issue.
Actual Results
An internal server error is returned.
Workaround
Remove "expand":["changelog"] from the call.
In case you need the changelog, use the endpoint rest/api/3/issue/<issueIdOrKey>/changelog.
- is a regression of
-
JRACLOUD-67458 rest/api/2/search endpoint returns error 500 when expanding the changelog
- Closed