Custom 'Create from template' Macro variables like @currentDate

I'm using the 'Create from template' Macro to create, as you would expect a new page based off a template!

I would like to used a custom variable like '@currentDate' but rather than the whole date I would like to have the current month like '@currentMonth'.

Is there a way I can define a customer variable or format the date?

I've had a good google, and couldn't find an answer for what I am looking for as I suspect the latter I can't do per the link below so that leaves me with a custom variable? 

https://answers.atlassian.com/questions/37526338/in-jira-sofware-is-there-a-way-to-format-a-custom-date-time-variable-as-month-and-year-only

Any ideas would be greatly appreciated!

1 answer

Hi,

Our plugin the Page Tree Creator provides the variables you are looking for and is very easy to use. Also for your end users it is simple clicking a button, filling out the form and the page / page tree gets created.

Link to the documentation of the variables.

Marketplace link: Page Tree Creator

Regards,
Stephan

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

366 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you