Skip to end of banner
Go to start of banner

Comala Workflows - Send email escalation for expired states

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

Version 1 Next »

This script will add a new label to all of the child pages of the selected parent page.

//new labels to be added to pages
string [] newLabels = "confluence|power_scripts";

//get the id of the parent
number parent = getPage("CTR", "Add a new label to the children of a page");

//get the ids of the children
number [] children = getChildPages(parent);

for(number child in children) { //loop through children
    //add labels to the child page
    addLabels(child, newLabels);
}

See Other Recipes

See More Documentation

  • No labels