Using the endpoint "Get filter" (/rest/api/3/filter/{id}) returns a malformed parameter for the key "searchUrl"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • Component/s: Ecosystem
    • 5
    • Severity 3 - Minor

      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

      1. Create a filter in Jira;
      2. Get the filter id by looking at the URL;
      3. 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.

            Assignee:
            Viktor Adam
            Reporter:
            Fábio W. [Atlassian]
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: