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

Freddy July 1, 2021

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
TAGS
AUG Leaders

Atlassian Community Events