Forums

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

Status variable disappears after page is created from Template

Lindsey Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2023

I've developed a custom template using the "/var" option to create a dropdown "status" menu. 

spaces have been removed from the title and the dropdown list. No special characters are used. 

The status variable remains visible until a page is created from the template

Please see screenshots attached (starting in the template builder and moving through the pages created from the promoted template) 
Screenshot 2023-07-21 at 3.37.56 PM.pngScreenshot 2023-07-21 at 3.38.11 PM.pngScreenshot 2023-07-21 at 3.38.27 PM.pngScreenshot 2023-07-21 at 3.39.28 PM.pngScreenshot 2023-07-21 at 3.40.19 PM.pngScreenshot 2023-07-21 at 3.40.47 PM.pngScreenshot 2023-07-21 at 3.41.21 PM.png

4 answers

3 votes
Levente Szabo _Midori_
Atlassian Partner
July 24, 2023

That's right. And if you want something more advanced than the 5 global statuses Confluence Cloud offers built-in, try a more flexible content lifecycle management solution, like Better Content Archiving for Confluence.

Here is a comprehensive article on how to set the Confluence page status with Better Content Archiving >>

With this app, you can:

content-status-indicator-cloud (1).gif

(Please note that Better Content Archiving is a free/paid and supported app and I'm part of the team developing it.)

1 vote
Anastasia Bek _Stiltsoft_
Atlassian Partner
August 2, 2023

Hello @Lindsey Smith !

Thank you for your question, and welcome to the Atlassian Community! Based on your needs and use case, I’d like to introduce our Handy Macros for Confluence app, which can be a good fit. It is a bundle of different macros, including interactive statuses and dates, which can also be put into a template.

  • Create unlimited customized status sets.
  • Switch Handy Status and Handy Date directly in the view mode, including the Confluence Page Status, which can also be an alternative.
  • Connect statuses to page labels for quick search
  • Ensure status and date consistency across Confluence tables and pages
  • Quickly update the Page Properties Reports

Please see examples below. 

image-20230724-093125.pngimage-20230724-093153.pngimage-20230724-093341.png
We also have a blog post covering this and other Confluence tips and tricks with interactive statuses. Perhaps it can be helpful for you as well. You can try the Handy Macros for Confluence app on the Atlassian Marketplace for free to see if it works for you. Our support is always happy to assist with any concerns.
Have a lovely day!
Kind regards,
Anastasia

0 votes
Lindsey Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2023

Hi @Barbara Szczesniak I need status updates and other variables within the document itself, so adding a page-wide status will not solve the problem here

Do you have recommended fix if I need to use the variable command to add a status or other variable/dropdown menus in the body of the template? 

Barbara Szczesniak
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.
July 25, 2023

@Lindsey Smith As far as I know, the variables you add in a template are for people to set when they create a page using that template. They are no longer available once the page is created.

It seems like you want to add a dropdown list within the content of the page where someone can select a status from the list. You cannot do this natively in Confluence, but there are plug-ins you can use for this (see the Marketplace).

Are these items for display only or will you need to search and do other actions based on the selection? For example, I notice in your screenshot above, you only have 3 possible statuses. If you are using them just as a visual indicator, you could try creating checkboxes for each status (you can format the label text if you want) that might look something like this:

StatusCheckboxes.png

marc -Collabello--Phase Locked-
Community Champion
July 25, 2023

Hi @Lindsey Smith ,

Confluence has also the built in status variables.

You can't use them in a template directly, but these are automatically available during editing.  However if you want to add these status variables to the page itself you need an addon like our (paid) app Document Metadata for Confluence Cloud.

0 votes
Barbara Szczesniak
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.
July 23, 2023

@Lindsey Smith Welcome to the Atlassian Community. Confluence Cloud has a built-in page status feature that may suit your needs. Review these pages (not sure if one offers any more information than the other) and feel free to let us know if you have questions on this feature or if it may not be what you are looking for:

https://community.atlassian.com/t5/Confluence-articles/Page-status-a-new-way-to-keep-your-team-informed/ba-p/1982476 

https://support.atlassian.com/confluence-cloud/docs/add-a-status-to-your-page-or-blog/ 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events