The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Dynamic variable for all labels currently applied to a page

Dominic Oliaro
September 2, 2020

When one uses the "How-To Article" template, it solicits labels before creating the page, and then uses those labels to populate the included "Content By Label" macro, providing "Related Articles" at the bottom of the template. However, the labels in the "Content By Label" macro do not change when labels are subsequently added or removed from the parent page.

Is there a way in which the "Content By Label" macro would use the labels currently applied to a page and subsequently update the list of "Related Articles". Or some way to update the related articles based on the current, not initial, labels?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Parvaneh Zand
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 Champions.
September 3, 2020

Hi @Dominic Oliaro

It cannot be done automatically! Once you choose a label and set it up in the macro browser, you'll see a list of pages that have the selected label, whether the parent page is labeled or not!

So whenever you need to change the result or add more labels, you should edit the parent page, edit the macro, and change the labels.

TAGS
AUG Leaders

Atlassian Community Events