Skip to end of banner
Go to start of banner

Delete all labels from a page.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

You need to have Power Scripts for Confluence app installed in your Confluence instance to implement the below.

The below SIL script will delete all labels from a page in a Confluence instance:

//get page
number page = getPage("TST", "This is a demo page"); 

//set the labels to empty string -> which deletes all labels of the page
%page%.labels = ""; 

Replace

  • TST with the key of Space where the desired page exists.

  • This is a demo page with the title of the desired page, whose labels you want to delete.

Here’s an example showing the above script in action:

DeleteAllLabels.mp4

Reference:

See Other Recipes:

See More Documentation:

  • No labels