/
Labels macro
Labels macro
Description: This macro can execute a batch of documents resulting from a label search.
Syntax: {greenpepper-labels}
Optional parameters:
- spaceKey:Default --> None
You can narrow the label search to a specific space.
If none is specified, the available GreenPepperized spaces will be in a select list. - labels:Default --> None
You can pre-enter the labels to base the search on.
Using the , as the label separation is equivalent to an OR query. Therefore, label1,label2 will retrieve all pages labeled by label1 OR label2.
Using the & as the label separation is equivalent to an AND query. Therefore, label1&label2 will retrieve all pages labeled by label1 AND label2. - title:Default --> blank
You can specify your own title. - expanded:Default --> false
You can ask for the list to be expanded on page load. - suts:Default --> All
You can narrow the list to specific Systems Under Test (1 or more; if more than one they must be separated by a comma). - group:Default --> PAGE
You can regroup all your macros in a page under a group name. (See Group Macro.) - sortDefault --> NONE
You can configure the way children are sorted. Choose Creation to sort by content creation dates, Title to sort alphabetically by titles and Modified to sort by modification dates (last date first). - reverseDefault --> false
You can reverse the sorting sequence. - openInSameWindowDefault --> falseNEW in v2.1
You can control whether or not the link to the specification will open in the same window.
Example
{greenpepper-labels} {greenpepper-labels:spaceKey=GREENPEPPER} {greenpepper-labels:spaceKey=GREENPEPPER|labels=resolution & seed|expanded=true}