The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Default pull-request approvers

Deleted user
August 12, 2014

Hi,

Is there a way to define in Stash a default pull-request approver for a certain repository?

We have a requirement that only a release manager should be able to merge changes to master, and we would like to pre-define a release manager per repository so that the developer wouldn't have to manually add the release manager as the approver for a pull request.

Thanks,

Moti.

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
jcurleyWR
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 Champions.
August 13, 2014

We use Workzone (stash plugin/add-on) to define default reviewers.

It allows you to adjust the list by branch name. Wildcards accepted.

0 votes
Deleted user
August 12, 2014

Thanks for the answer.

So there is no existing feature - we need to develop this feature.

As for branch permissions - i am aware of this and this is indeed what we are doing in order to restrict who can merge.

Thanks,

Moti.

Balázs Szakmáry
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 Champions.
August 12, 2014

You might want to make a feature request for this here, you are not the first to want this functionality.

0 votes
Balázs Szakmáry
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 Champions.
August 12, 2014

About default reviewers, please see one answer here.

Additionally, you can set the branch permissions in such a way that only the release manager has write access to master.

TAGS
AUG Leaders

Atlassian Community Events