Details
-
Bug
-
Resolution: Unresolved
-
Low
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
When a user tries to use the V2 /wiki/api/v2/attachments endpoint, the API call fails with a 500 error if it is supplied with the -created-date or -modified-date values on the sort query parameter.
The values without the "-" character works just fine (created-date and modified-date).
Steps to Reproduce
- Perform an API call through the browser or through other tools like Postman https://instance.atlassian.net/wiki/api/v2/attachments?sort=-modified-date
Expected Results
The list of attachments sorted by modified date is returned
Actual Results
The API call returns an internal error status code 500 result
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available