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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

310 views 2 13
Read article

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