Question about Creating Portfolios and Selecting a Specific Branch to display

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) Sonarqube Enterprise 9.9.8 LTA
  • how is SonarQube deployed: zip
  • what are you trying to achieve Creating a portfolio and adding projects in it.
  • what have you tried so far to achieve this: See below:

I’m able to create a portfolio in Sonarqube UI and added projects in it. When adding projects and selecting branches to display in what we usually call a “dashboard”, I can only see main and master that can be selected. It says there in the informational message that “Only branches excluded from purge are available for selection.” If I want to select a specific branch to display in a portfolio am I correct in my understanding that the specific branch let’s call it data needs to be “keep when inactive” in order for me to select them when editing the definition of the portfolio that I created? If I’m correct, I already clicked the “keep when active” button but the said branch still doesn’t show up. Is there a waiting time for this to show up when editing the definition of the portfolio?

Nevermind, I already got my answer. I just need to wait for a bit and it displayed the branch that I need to appear in the portfolios.

And if you permit us to be a little annoying :smiley::

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

9.9.8 → 2025.1.2-> 2025.3 (last step optional)

You may find these resources helpful: