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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

589 views 6 12
Read article

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