Automate creation of missing pages

I would appreciate a feature that would search through all Page Link references in a space or on a single page, and automatically create any pages for links that don't yet exist. 

For example, if I Insert Link (ctrl-k), choose Advanced, and type the name of a page that doesn't exist, Confluence will show the link in brown/maroon text, and clicking the link will take me to a Create Page form. Ideally I wouldn't need to create the page manually like that. Instead, the some process would automatically add pages for any missing Links it finds, naming them according to the name provided in the link.

1 comment

Interesting idea, but I would hate it. 

I regularly write pages almost as a stream of consciousness, and when my brain goes "oh, I should discuss this somewhere else", I will scribble a page link as a reminder to write that later.

Later, I can go back over it and create the pages I need, and focus on them at that time (or create tasks for other people to write them).  This way, I don't need reminders or tasks to tell me to write more supporting content later.

So, a swipe at an actual answer:

  • That's just my 2d worth of instinctive reaction.  Part of me wants to paraphrase the idea as something that sounds quite dismissive, which is not what I want to do, as it's not meant this way, but I'm not sure how else to do it - "I want to create a set of empty pages with no way to know that they need writing".  I guess I'm asking "Why?".  What's the use for this (other than preventing a page having odd coloured links)?
  • There's no native function for this, but I'm 99% sure ScriptRunner for Confluence could do it (add a button for "create empty pages behind non-existent page links"), and possibly some other add-ons could do it. (Disclosure - I work for Adaptavist.  I still think it's a good answer that I'd have given if I were independent, but I'd prefer not to be seen as biased, and certainly not advertising instead of answering!)
  • Also, you could write an external script that uses REST to scan a page (or set of pages) and poke empty pages into Confluence


Log in or Sign up to comment
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...

1,128 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