i have a quick question about labels. I have several templates and I wanted to give the user directly 2 labels with which I can filter and display content on other levels. I wanted to make sure that the right labels are on the page when the user creates the page using the template.
Now I have unfortunately noticed that if I add the labels in the template and then create a page over it, the labels do not appear on the newly created page.
Have I done something wrong?
Addition: I just noticed that it works for the first creation through the template. But from the second time not there the labels don't appear anymore. They are then also deleted in the template ?!?! Now I'm really confused.
I was going to suggest that "Page Properties" might be a workaround. But nope.
The "Page Properties Report" requires a page label. So even adding a "Page Property" to a template (to report on instead of a label) won't work.
I do want to point out that built-in templates (such as "Retrospective") actually do seem to generate pages with labels. So I'm not quite sure what functionality is missing here from an implementation perspective.
All: please cast a vote for CONFCLOUD-38181
_ _ _ _ _ _ _
If you like writing code, apparently you CAN work around this by creating a Blueprint (rather than just a standalone template). It looks like the Index page that is part of a Blueprint can specify the label used on newly generated pages. From the docs:
"...relies on Confluence labels to be applied to the pages created via blueprints, which is specified by the
index-key attribute on the
(quote above is from the "Index Pages" section)
The issue is that before the new page format you could do the following
The first of these is a big deal as our standard project documentation uses a set of defined labels. Will investigate the blueprints thing, but am unsure I want to "develop" something, especially when it used to exist
For now (in March 2020), I found a way to get similar "template / generate button / index" behavior with the following workaround approach:
The attached screenshot shows how my resulting "index" page looks, with sub-pages generated from the template using the button.
I encountered the same issue today. However, I noticed the following behaviour:
However, if you did this instead:
So, it seems that Confluence template editor removes all labels from the template, unless you open up the label editor prior to saving the template.
Hope this helps.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event