JQL - Status name unexpected behavior for team-managed projects

XMLWordPrintable

    • 7
    • Severity 3 - Minor
    • 1

      Issue Summary

      JQL searches with issue status names coupled with some complicated clauses does not work for team-managed project issues.

      Steps to Reproduce

      1. Create a team-managed project with some issues in different statuses
      2. Perform JQL search for example:
        project = "Team managed project" AND status changed from 'To Do'  to 'Done'
        
      3. Search will fail for team-managed but the same would work as expected for company-managed projects.

      Expected Results

      Simple issue status names should work for team-managed project issues for any JQL query.

      Actual Results

      JQL searches fail for Status Changed To and Status Changed From clauses

      Workaround

      Currently, JQL for team-managed projects in these situations accepts the Status ID of the status you wish to search for but these are unique to the team-managed project they belong to.

      Example of a successful query:

      project = "Team managed project" AND status changed from 10245  to 10248
      

      where
      10245 = 'To Do'
      10248 = 'Done'

      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:
            Mayank Kashyap (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: