Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-60724

JQL Entity Property for Pull Request Status

    XMLWordPrintable

Details

    • 39
    • 5
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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:
              63 Vote for this issue
              Watchers:
              41 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: