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
Community Members
Community Events
Community Groups

See the master branch's source of a file while reviewing a pull request

When i review PR,  I need an option to see the base code by having a hyper link on the "src/features...".

Example file


Screenshot from 2019-11-24 16-39-56.png

Of course the "Side-Side by compare helps". But i just want to see the code. Why what is the line count? Read to see what was there before.

The only way i can go check the current code as i want to see is > Source > Navigate to the file.



1 comment

Hello @Kishorekumar Neelamegam,

Thanks for reaching out.

There's indeed no direct link to a file on the destination branch, however there's a faster way to navigate than switching to Source and searching for that file in the tree.

You can first navigate to that file on source branch by clicking on ··· > Open file. Then simply select the relevant branch in the dropdown just above the file.

Here's a screencast:

Base branch file.gif

Hope this helps.


Cool. Thanks for tip


But wouldn't a direct href help an user ?

Taking directly to the code since the user already is in the master branch of the PR.

No worries :)

But wouldn't a direct href help a user?

Well, it would definitely help in your use case. I guess we tried to balance the design to be functional enough but remain streamlined,  simple and easy to use, as in not overloaded with links and actions. I can't say that looking at the destination branch version of a file in a PR is a common use case, whereas sometimes the source branch version is helpful.

Anyways, please don't hesitate to raise a ticket in our public issue tracker so that we know about your workflow and consider improving it — this way you'll get notified when we do something about that ticket.



Log in or Sign up to comment
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,227 views 2 9
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