Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.6.14, 7.13.5
-
7.06
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
Parameters for Jira Agile's REST endpoints are case sensitive, while most of Jira's REST endpoints are not. This inconsistency causes incorrect results and usage.
Steps to Reproduce
- Have multiple projects/boards in Jira.
- In my case, one of my projects is SSP and on a scrum board
- Request the following endpoint: http://localhost:8080/rest/agile/1.0/board?projectKeyOrId=SSP
- Notice that the proper results are returned
- Request the following endpoint: http://localhost:8080/rest/agile/1.0/board?projectkeyorid=SSP
- Note that I simply set all letters to lowercase in "projectKeyOrId"
- Notice that all results are returned
Expected Results
REST parameter will be recognized regardless of letter casing
Actual Results
The REST parameter does not take effect and all results are shown. There is also no errors to indicate the that parameters are not recognized, so users will not know that this failed.
Notes
This was found with the "projectKeyOrId" parameter, but the same behaviour also occurred with "type" and probably others as well.
Workaround
Ensure to double check the casing in the parameters to ensure they match the REST documentation exactly.
Attachments
Issue Links
- relates to
-
JRASERVER-37633 Versions are case sensitive when making REST api calls
- Gathering Impact
-
JRASERVER-63732 The REST API endpoints /rest/api/2/group and /rest/api/2/group/members are not case sensitive, while /rest/api/2/group/user is case sensitive
- Gathering Impact