How can I insert reference to page title within a text box?

I'm editing a page that represents a meeting. There's a panel at top of page with a space for "meeting title." Normally people just type in text. But I've noticed that the title of the page is invariably the same as the "meeting title." So I want to insert a macro to fetch the page title and insert it into the text.

1 answer

0 vote
Stephen Deutsch Community Champion Aug 08, 2015

At least on the server version, you could do this easily with a user macro.  Just insert a user macro with the following information:

Screenshot from 2015-08-08 22:15:10.png

## @noparams
$content.title

Note: if you want everybody to see it, just leave it as "Visible to all users in the Macro Browser".

Then just insert it as you would any other macro in the box where you normally type the title.

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...

2,476 views 25 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