Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-10789

500 Error when searching Automated Steps Library variable in Jira 10

    XporterXMLWordPrintable

Details

    Description

      Description
      When we search in the Automated Steps Library for a variable like ${Variable}, the API returns a 500 error. If we search for %Variable% it returns a 200 ok.

      Pre-conditions
      Have at least 1 step with a Variable

      How to reproduce

      1. Go to the Automated Steps Library on the project with the step
      2. Search for the variable like so: ${Variable}

      Actual result/Attachments

      It returns a 500 error - java.lang.IllegalArgumentException: The template variable 'Variable' has no value

      Expected result
      We should be able to see the step where this ${Variable} exists and the API should return a 200

      Version
      7.11.1-j10

      Workaround
      Search by %Variable%

       

      Attachments

        1. image-2025-03-25-14-42-51-829.png
          61 kB
          Gonçalo Nunes
        2. image-2025-03-25-14-26-21-966.png
          19 kB
          Gonçalo Nunes
        3. image-2025-03-25-14-23-15-559.png
          20 kB
          Gonçalo Nunes
        4. API calls.har
          356 kB
          Gonçalo Nunes

        Issue Links

          Activity

            People

              sai.polishetty Sai Polishetty
              goncalo.nunes Gonçalo Nunes
              Sai Polishetty
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: