Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Displaying the labels of a page within the same page

Michelle Oliveri October 27, 2014

Is it possible to display the labels attached to a page within the page content itself?  We would like to use the include macro to include Page A within Page B.  However, Page A appears without showing the labels we have attached to it.  We would like the labels to show somehow.  Is there a macro we could use to show the labels of a page within the same page content?  Thanks!

 

   

2 answers

1 vote
Michelle Oliveri October 28, 2014

Hi Davin,

Thank you for your reply!   We tried the user macro that you had provided, but it doesn't seem to be supported by the Cloud.  Is there another way?   

0 votes
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2014

This could be done with a user macro. He is a very quick basic example. You would want to fill it out to meet your needs.

## @noparams
#foreach($label in $content.getLabels())
$label.getName()
#end

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events