Performing JQL searches with development[] are not returning the expected results.

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      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.

            Assignee:
            Ben Jackson
            Reporter:
            Adalberto Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: