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

JQL Entity Property for Pull Request Status

    XMLWordPrintable

Details

    • 17
    • 9
    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rgould@atlassian.com Russ Gould [Atlassian]
              Votes:
              178 Vote for this issue
              Watchers:
              73 Start watching this issue

              Dates

                Created:
                Updated: