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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 enable pull request and code review?

Hello,

currently my repository doesn't enforce pull requests.

where can i set mandatory pull request? to prevent pushes with no permission.

i want also to add the process a code review. is there a plug-in for that?

in addition, as you realized, there were some pushes over the time and now i want to code review them. since it doesn't include pull request (since it is already in), what should i use? any suggestions?

 

thanks in advance,

2 answers

1 accepted

0 votes
Answer accepted
Tyler T Atlassian Team Dec 04, 2019

Hi @Eliah Ninyo ,

You can use branch permissions to enforce pull requests and add other restrictions to the master branch (for example). You can prevent rewriting of master and force pushes, etc.

Here is the documentation: https://confluence.atlassian.com/bitbucket/branch-permissions-385912271.html

master.png

Thanks Tyler,

i will read the link you sent. 

 

can you please answer also the other questions regarding code review suggestions?

Tyler T Atlassian Team Dec 04, 2019

This question?

there were some pushes over the time and now i want to code review them. since it doesn't include pull request (since it is already in), what should i use? any suggestions?

You might need to review commits individually based on the author. I don't have a great suggestion for that. Installing a plugin like GitLens into your code editor might be helpful since you will be able to see who viewed commits as you encounter them in your code.

i put in the "merge via pull request" all the group "Everyone".

but this doesn't enfore pull request. 

people can still do push without pull requests. 

 

any other suggestions?

Tyler T Atlassian Team Jan 06, 2020

Is 'write access' empty?

oh, you are right. 

i should remove the write access too :-)

 

thanks

Like Tyler T likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,922 views 0 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