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

Build on a non-source branch shows up in some contexts but not in others

Hello Atlassian team!

While working on an existing integration with BitBucket 7.5, we have noticed the following discrepancy in the behavior with the builds executed on a /from ref. From an earlier discussion with client we know that pull request view is expected to only show the builds executed on a source branch for the said PR. However, it appears that in:

  • branch commits list - build always shows up

  • commit Builds view - build always shows up

  • pull requests list - build always shows up

  • pull request view (when specific PR is open) - build shows up only if it is on a source branch

  • pull request Builds view - build shows up only if it is on a source branch

I would like to ask:

1. Why the behavior is different when one opens a specific PR to view it, and when one views a list of pull requests (or is it something that has changed in the newer releases?);
2. Why the builds executed on /from ref of the PR are not eligible to be shown? Were there any other requests to allow both source branch builds and this ref builds to be viewable in the scope of PR? 

I am asking this because some of our clients do build the /from ref instead of source, but this stops them from reporting the build to BitBucket. Thus, currently they are forced to use deprecated REST API endpoint which does not support "ref" property in the request. Knowing the reason behind this limitation would be really useful.

0 answers

Suggest an answer

Log in or Sign up to answer
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,086 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