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
Retrieve your portfolio. See Retrieving a portfolio.
Go to your portfolio > Administration > Portfolio definition.
Select Edit info.
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
Retrieve your portfolio. See Retrieving a portfolio.
Go to your portfolio > Administration > Portfolio definition.
Select Manage portfolio contents. The Edit portfolio contents page opens.

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.
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.

Deleting a portfolio
With the Edit permission on a portfolio, you can remove it from the system.
Retrieve your portfolio. See Retrieving a portfolio.
Go to your portfolio > Administration > Delete portfolio.
To delete only a child portfolio, see Managing child portfolios.
Related pages
Last updated
Was this helpful?

