Forums

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

Automatically copy tags of confluence pages when adding a sub-page

Alex May 16, 2025

Hi,

 

i have a question regarding automatically adding Tags in Confluence Cloud.

 

As mentioned in my other post i want to set up a knowledge base in confluence. The Information on the pages should come from other (sub) pages that are /included in the main pages.

 

These sub-Pages shall be organized in Categories / Headlines. Is it possible to copy all tags from a Page to a sub page when creating it or when the sub page gets moved?

This is how i imagined it

2025-05-16 14 35 03.png

2 answers

1 accepted

1 vote
Answer accepted
Darryl Lee
Community Champion
May 16, 2025

Hey @Alex -

Well, Google found an old question that I answered a few years back and found that @bob.dalm came up with a new answer using Advanced Branching that didn't exist when I created my answer.

So then, this worked in my testing:

image.png

If, say, you wanted to REMOVE the existing labels before adding the parent ones, maybe do a branch before this one that goes through {{content.labels.name}} and use Remove label to remove each {{currentLabel}}.

I'm a little worried that the two branch actions might run asynchronously/in parallel, which would be a problem if some of the parent labels are the same. Let me test that...

Darryl Lee
Community Champion
May 16, 2025

Ok, it seems to work! I moved a page around to a bunch of parents with different labels, some the same, and it seemed to do the right thing each time:

Here's the rule with the additional Remove label step that "clears" the existing labels before applying those from the new parent:

image.png

Please LMK if this works!

Alex May 19, 2025

It works! I had to reload the Webpage to see the result, but it works. Thank you very much. This will save me a lot of time. 

Darryl Lee
Community Champion
May 19, 2025

Oh yeah, the reload thing is a pain. But glad it works!

I hate to ask, but could you please push the "Accept answer" button at the top? It helps me keep my "status". :-P

Thanks!

Bill Sheboy
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.
May 19, 2025

Hi, and to which "status" are you referring, @Darryl Lee  ;^)

Well done!

Darryl Lee
Community Champion
May 19, 2025

@Bill Sheboy aw c'mon, I think you know it's the "Atlassian Community Leader Champion status" that you would easily qualify for. :-}

image.png

(Source: Become an Atlassian Champion)

We would so love to see you at Team one of these years, and joining as a Champion would get you that sweet sweet free ticket.

Like Bill Sheboy likes this
Bill Sheboy
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.
May 20, 2025

Thanks for the information, Darryl.  I was not aware maintaining was a thing for those roles.

0 votes
Alex May 19, 2025

Of course i will accept this answer. Sorry, i did not know about this button.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events