JQL Search with "status WAS" might not work with status name

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      JQL searches with issue status names with some complicated clauses might not work as expected.

      Steps to Reproduce

      1. Perform JQL search for example:
        project = "XYZ" AND status WAS in "In Progress"
        

      Expected Results

      Simple issue status names should fetch the issue key that was in the specified status before.

      Actual Results

      JQL searches fail for Status WAS IN clauses does not work with status name

      Workaround

      JQL can be executed with the Status ID of the status you wish to search.

      Example of a successful query:

      project = "XYZ" AND status was in 10245 
      

      where
      10245 = 'To Do'

      To find the status ID for your team-managed project, you may use the following API call:

      GET /rest/api/3/project/<Insert project key>/statuses
      

            Assignee:
            Unassigned
            Reporter:
            Rahul Kumar
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: