Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to search for a pull request status?

i have many issues with "pull request" status. many of them are merged.

how do i search for my open issues under "pull request" status + not merged?

thanks

3 answers

You'll have to do a little bit of fancy JQL for it. If you've integrated Stash/Bitbucket/Whatever properly, you should be able to see it with a search on issues' properties. Example, for my on-demand instance, this JQL returns any issues that have not been resolved (so the issue is still open) with a non-merged pull-request associated with the issue:

issue.property[development].openprs > 0 AND (status != done OR resolution is EMPTY)

In standard JIRA Cloud and BB Cloud integration issue.property[development] doesn't exists

Try the following: 

Caveat: works with Bitbucket, not sure about other tools (see attached)

Merged Issues:

  • development[pullrequests].merged >0

Open Pull Requests:

  • development[pullrequests].open >0

Note: Jira shows an error in the JQL, but does allow you to save as filter, e.g., filter=######

Referencehttps://confluence.atlassian.com/adminjiracloud/integrating-with-development-tools-776636216.html

On cloud version doesn't work. get error:

For "development[pullrequests]" use "development[pullrequests].all" or "development[pullrequests].open"

Like # people like this

Is this for JIRA or Bitbucket? I'm kinda confused. Is Pull Request an issue status? If yes, a simple JQL can do what you want, I just want to make sure smile What is MERGED in your context?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

322 views 9 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you