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

How to filter labels of a page by using wildcards?

Deleted user March 15, 2018

Is there any way to filter labels of a page by using wildcards?

On each page we would like to generate a list with the labels attached to the respective page including or excluding specific words or characters. In our case page labels contain a prefix and a name, for instance doctype-manual or doctype-handout. The prefix would be the wildcard. As our users add labels by selecting from a list with predefined values (with Choose Label Macro), it would be great if the labels are automatically assigned to the related sections.

The Labels List Macro is out of the question as it can only exclude labels and unfortunately that doesn't fit our requirements. We need to exclude words or characters of the label.

Filter page labels.png

 

1 answer

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.
March 15, 2018

It sounds like you are saying you want to dynamically create a two column table on your page based on the labels for your page that are in this format {key}-{value}. Is that correct?

Deleted user March 16, 2018

Hi Davin!

The page already provides a two column table. Our table is static, but there are certainly better approaches to solve this issue. A dynamically generated table sounds fine and more practical. What would you recommend?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events