-
Bug
-
Resolution: Timed out
-
Medium
-
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
- Create a team-managed project with some issues in different statuses
- Perform JQL search for example:
project = "Team managed project" AND status changed from 'To Do' to 'Done'
- 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
- is duplicated by
-
JRACLOUD-77089 Searching by statuses of team-managed projects doesn't find issues
- Closed
- relates to
-
JRACLOUD-79304 JQL - Status Changed From and To Clauses unexpected behavior for company-managed projects
- Closed