Need JQL to find issues with AT LEAST one pull request and AT LEAST one MERGED pull request.

Folks,

 

I'm trying to create a JQL query that will return issues that have the following:

  • AT LEAST one (1) pull request
  • AT LEAST one (1) MERGED pull request

 

AND development[pullrequests].all > 0 AND development[pullrequests].open < 1

 

I was using the above, however that means if I have multiple pr's on an issue it won't return if even one is open. 

 

Does JIRA support something akin to "development[pullrequests].merged >= 1??

3 answers

Hi!

JQL Search Extensions has JQL keywords for pull requests. Documentation can be found here.

After installing the plugin you can check the number of pull requests:

pullRequestsCount > 0

As well as open pull requests:

openPullRequestsCount >0

I have the same request and will bump thread. Daniel - did you find how to resolve this issue?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in Jira

Continuous visibility with the new Jira Software Cloud and Bitbucket Cloud integration

Hey Atlassian community, I am a PM on the Bitbucket Cloud team and I am excited to share that we just released an improvement to the Jira Software and Bitbucket Cloud integration. With the newly im...

148 views 0 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you