reviewer parameter in pullrequest creation URL

We were able (albeit undocumented) to prepopulate the bitbucket server pull request creation page with title, description and reviewers, with URL parameters title, description, reviewers like so (where name1/2 are the login names):|!|name2

Since the upgrade to 5.x the prefilling of the reviewers part doesn't work anymore, and when using the |!| separator for multiple reviewers we even get a 400 response.

2 answers

0 votes

Hi Andreas,

What about using a REST API to achieve this?


The following one (using the POST method) allows specifying the reviewers:


See the REST end point documentation here.



We already so that. Well, actually we use a self-written plugin so we can use ssh instead of http, and thus the same auth that is used for pushing.

But this is about prefilling the web page, and then allowing people to edit that to their needs.

@Caterina Curti, @Andreas Krey, Yeah, I've found this super annoying as well.

For example:


will have their user names flash in the reviewers input, but almost instantly get cleared out.

Does someone know what are the query parameters supported by `pull-requests/new` endpoint? Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,925 views 7 10
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