Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Editing portfolios

Change the projects and child portfolios of a SonarQube Cloud portfolio, rename, move, or delete child portfolios, or delete a portfolio.

This feature is only available in the Enterprise plan.

Editing a portfolio

With the Edit permission on a portfolio, you can add and remove projects from it. Note that you do not add a project, but a long-lived branch of a project. In each project selection, you can only add a single branch per project.

You edit a portfolio on its Portfolio definition page. A child portfolio has no Administration menu of its own, so you edit it through the Portfolio definition page of its root portfolio. See Managing child portfolios.

The Portfolio definition page shows the name and description of the portfolio, and a summary of its contents with the number of projects it contains. If the hierarchy contains duplicate project branches, the page also shows a warning. See Duplicate project branches.

Changing the name and description

  1. Retrieve your portfolio. See Retrieving a portfolio.

  2. Go to your portfolio > Administration > Portfolio definition.

  3. Select Edit info.

  4. In the Edit the name and description dialog, update the name and description, then select Save.

You can also select Edit info in the About this portfolio section of the portfolio's Overview page.

To rename a child portfolio, see Managing child portfolios.

Changing the portfolio contents

  1. Retrieve your portfolio. See Retrieving a portfolio.

  2. Go to your portfolio > Administration > Portfolio definition.

  3. Select Manage portfolio contents. The Edit portfolio contents page opens.

Portfolio definition page of a root portfolio with the portfolio name, the Edit info button, and the Manage portfolio contents button.
  1. Make your changes: a. To change the projects of a portfolio, select Manage project selection in its Add projects directly section. If the portfolio has child portfolios, first select the portfolio in the Portfolio tree. To remove the selection, select Clear selection. See Adding projects directly. b. To add a child portfolio, select Create child portfolio on the portfolio that you want to be the parent. See Creating child portfolios. c. To rename, move, or delete a child portfolio, see Managing child portfolios.

  2. Select Save.

Managing child portfolios

You manage child portfolios on the Edit portfolio contents page of the root portfolio, or in the Add projects step of the creation wizard. Select the child portfolio in the Portfolio tree, then open its action menu:

  • Edit name and description: Change the name and description of the child portfolio.

  • Move: Select a new parent for the child portfolio. Its child portfolios and projects move with it. You can move a child portfolio anywhere in the same hierarchy, except under one of its own descendants.

  • Delete: Delete the child portfolio.

Edit portfolio contents page with a child portfolio selected in the Portfolio tree and its action menu open, showing Move and Delete.

Deleting a portfolio

With the Edit permission on a portfolio, you can remove it from the system.

  1. Retrieve your portfolio. See Retrieving a portfolio.

  2. Go to your portfolio > Administration > Delete portfolio.

To delete only a child portfolio, see Managing child portfolios.

Last updated

Was this helpful?