When a portfolio is configured to use a branch, any project that has failed it’s quality gate is shown under the Releasability section of the portfolio dashboard, and the links fail to take you to the failed branch and always shows the master branch.
The summary link however does take you to all the failed projects
I’m not able to reproduce. When I click on the link highlighted in red, it’s taking me to the second screenshot, when I can open each branch. The link highlighted in blue takes me to the main branch of the project, but IMO that’s expected.
Not so sure this is expected the Portfolio is configured specifically against a particular branch, therefore I would expect all links to be related to the configured branch, not mix and match, the red highlight takes you to a list of failed projects for the branch configured as expected, so I would expect the individual project links to take you directly to the configured branch of the project, not the master.
This is the Portfolio configuration showing the configured branch