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

JQL Entity Property for Pull Request Status

XMLWordPrintable

    • 25
    • 15
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Problem Definition

      In JIRA 6.4 and above, it is currently possible to use the following entity properties in JQL searches to return issues that have associated pull requests.

      issue.property[development].prs
      issue.property[development].openprs

      However, it is not currently possible to return issues based on the status of the associated pull request. Leveraging the above properties in the manner below will still return pull requests that were declined, which in many cases can be undesirable.

      issue.property[development].prs > 0 and issue.property[development].openprs = 0

      Suggested Solution

      An additional entity property representing the pull request status would allow for more flexibility in JQL searches with pull request related conditions. A prsstatus property that would expose the current state of the associated pull request would allow for this.

              Unassigned Unassigned
              rgould@atlassian.com Russ Gould [Atlassian] (Inactive)
              Votes:
              198 Vote for this issue
              Watchers:
              90 Start watching this issue

                Created:
                Updated: