Details
-
Bug
-
Resolution: Timed out
-
Low
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
Performing JQL searches with development[] are not returning the expected results.
Steps to Reproduce
Run the search development[pullrequests].all > 1, it will work. However, it only counts the PRs under the current status.
Example:
- The issue has 2 merged PRs and 3 on declined status. The current status on the issue will be merged. If you search development[pullrequests].all > 4 then no result will be returned but if you search development[pullrequests].all > 1 then the issue will be returned.
- The issue has 1 merged PRs and 1 on open status. The current status on the issue will be open. If you search development[pullrequests].all >1 then no result will be returned but if you search development[pullrequests].all > 0 then the issue will be returned.
Expected Results
The search development[pullrequests].all > 1 should count all PRs, independent of the current status.
Actual Results
The search development[pullrequests].all > 1 only counts the PRs under the current status.
Workaround
None
Additional notes
The documentation Advanced searching - developer reference does not inform if that's expected behavior or not, that's why we are raising it as a bug.
In case it is expected behavior, please update the documentation and change this bug report to an improvement request.
Attachments
Issue Links
- is related to
-
JRACLOUD-44116 Add the ability to include Development panel information into JQL searches
- Closed
- relates to
-
JSWCLOUD-16154 The Development field information is not searchable when connecting a repository with a lot of issue keys
- Closed