-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.11.2, 7.13.9
-
Component/s: REST API
-
None
-
7.11
-
1
-
Severity 3 - Minor
Issue Summary
REST API for statuses does not work if its name contains forward slash
Steps to Reproduce
Perform a GET request using CURL, Postman or directly in the web browser to <JIRA Base URL>/rest/api/2/status/{StatusName} , where status name contains the character "/" For example: "Peer review / change manager approval".
Expected Results
According to documentation for the endpoint Get Status, the status information should be retrieved.
Actual Results
Example: Having the name "Peer review / change manager approval", which encoded to URL is "Peer%20review%20%2F%20change%20manager%20approval", the entire URL would be:
<JIRA BASE URL>/rest/api/2/status/Peer%20review%20%2F%20change%20manager%20approval
and this produces an error 400.
Workaround
Use the ID instead of the name