Dashboard > GreenPepper Server > ... > Confluence macros > Labels macro
 GreenPepperAnonymous access is denied. You must log in to use GreenPepper.

  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.)
  • sort Default --> 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).
  • reverse Default --> false
    You can reverse the sorting sequence.
  • openInSameWindow Default --> false NEW in v2.1
    You can control whether or not the link to the specification will open in the same window.
LIVE EXAMPLE
{greenpepper-labels}
Begin Info
MACRO-{greenpepper-labels}
No registered Space found.
End Info
{greenpepper-labels:spaceKey=GREENPEPPER}
Begin Info
MACRO-{greenpepper-labels}
< GREENPEPPER > Anonymous access is denied. You must log in to use GreenPepper.
End Info
{greenpepper-labels:spaceKey=GREENPEPPER|labels=resolution & seed|expanded=true}
Begin Info
MACRO-{greenpepper-labels}
< GREENPEPPER > Anonymous access is denied. You must log in to use GreenPepper.
End Info


© Pyxis Technologies Inc.. All rights reserved. GreenPepper® is registered to Pyxis Technologies inc.