Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,432
Community Members
 
Community Events
176
Community Groups

Pull Request URL Paramaters

Edited

Hi there, i'm trying to programmatically open a browser to the pull request screen for the current branch and specific destination which I already know destination require "dest" query param, and what I want is open this pull request on browser with no reviewers.

 

So to sum up, is there a query param for pull request link with no reviewers like we can do for destination branch with "dest=development".

 

Thank you for your answers.

1 answer

1 accepted

0 votes
Answer accepted

Hi @cagribey_guvendik and welcome to the community.

Filtering by destination branch is possible because we have this filter available in the Pull requests page of a repo. However, I'm afraid that there is no filter for no reviewers. The only filter related to reviewers in the UI is for PRs that you are reviewing.

You can get the info you want programmatically via our API, using the filter q=reviewers=null. An example call would be the following:

curl -u <username>:<app-password> https://api.bitbucket.org/2.0/repositories/<workspace-id>/<repo-slug>/pullrequests/?q=reviewers=null

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events