-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Branch - View / Diff / Compare
-
None
-
Severity 3 - Minor
Issue Summary
When you have a commit that has more than one build linked to it, the link to all builds will be broken in the branch compare page.
The page will redirect you to https://bitbucket.org/<workspaceID>/<repoSlug>/branches/compare/%7B%7Burl%7D%7D, instead of the expected build link.
Steps to Reproduce
- Have a commit that has more than one build status associated with it. This can be done by having multiple Pipelines builds for the same commit, such as that it would give you a list of links:

- Click on the icon from the screenshot above (icon may be different if your builds are either stopped or failed).
- A window will open listing the builds. Click on any of them, they will redirect you to https://bitbucket.org/<workspaceID>/<repoSlug>/branches/compare/%7B%7Burl%7D%7D, which is an invalid link.
- If you open the commit itself and click on the same build in the build list, the link will redirect you properly.
Expected Results
When clicking build links in the compare page, you should be redirected to the page where the build status should you've just clicked on should be.
Actual Results
When clicking build links in the compare page, you will be redirected to the incorrect page, https://bitbucket.org/<workspaceID>/<repoSlug>/branches/compare/%7B%7Burl%7D%7D.
Workaround
Open the correct build link by going to the commit page, instead of opening it through the compare page.