Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-78662

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

    XMLWordPrintable

Details

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: