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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Xray DC - v7.11.1
    • Continuous Delivery
    • BDD Step Library
    • None
    • Data Center

    • UNCOVERED

    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

        Activity

          People

            dpca Diamantino Campos
            goncalo.nunes Gonçalo André Sousa Nunes
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: