Issue Summary
Using the REST API endpoint Get filter
/rest/api/3/filter/{id}
, returns a malformed answer for the searchUrl key.
Steps to Reproduce
- Create a filter in Jira;
- Get the filter id by looking at the URL;
- Run the following REST API endpoint:
https://<instance-name>.atlassian.net/rest/api/3/filter/<filter-id>
Expected Results
The searchURL should return something in the form of:
"searchUrl": "https://<instance-name>.atlassian.net/rest/api/3/search?jql=<jql-query>"
Actual Results
The searchURL return as:
"searchUrl": "https://<instance-name>.atlassian.net/rest/search?jql=<jql-query>"
The URL is missing the /api/3 string between "rest" and "search".
Workaround
Inserting manually or programmatically the /api/3 string between "rest" and "search" on the searchURL returned.