Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-2119

[JIRAALIGN-2119] API 2.0: Unable to craft filters in Swagger due to missing currency sign prefix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 10.88
    • 10.78, 10.79, 10.80
    • REST API
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      Unable to craft filters in Swagger due to missing currency sign prefix.

      Swagger renders filter statements with no leading currency sign ( $ )

      curl -X GET "https://uat.agilecraft.xyz/rest/align/api/2/Products?filter=title%20eq%20%27Er1Product%27" -H "accept: application/json;odata.metadata=minimal;odata.streaming=true" -H "Authorization: bearer MyObfuscatedToken"

      $ is missing between ? and filter: (...)Products? $ filter=title%20(...)

      Steps to Reproduce

      1. Browse to Swagger
      2. Authorise a token
      3. Expand any endpoint
      4. Click Try out button
      5. Provide filter details
      6. Click Execute button
      7. Notice the cURL statement

      Expected Results

      • Filter works

      Actual Results

      • Filter does not work

      Workaround

      • Once a statement is crafted, add the missing $ and execute it from the command line/console.

            tdavenport@atlassian.com Tony D.
            rcortez@atlassian.com Rodrigo Cortez
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: