Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use JQL to find issues with open pull requests targeting a specific branch?

Jeff Tillett
Community Champion
June 19, 2018

I am currently using the following query to identify all issues with open PR's that are not resolved:

issue.property[development].openprs >= 1 AND resolution = EMPTY ORDER BY priority DESC

In BitBucket, I am reviewing all open PR's targeting 'master' using this query in the URL:

https://bitbucket_url.com/projects/PROJECT_KEY/repos/repo_name/pull-requests?state=OPEN&at=refs%2Fheads%2Fmaster

Is there a way I can further filter my JQL to show only issues associated with the PR's I am looking at in BitBucket? I am trying to use issue.property[development].target or .branch or .targetbranch, but nothing is working.

1 answer

0 votes
Krishnanand Nayak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2019

I am looking for this too.

Suggest an answer

Log in or Sign up to answer