Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Ways to Pre-Predict URL of Wiki Page?


Our monitoring system generates alerts, into which I'd like to put a link to Confluence for the alert in question. Since we create alerts all the time, the Confluence pages for them aren't yet written though, so I'd like to pro-actively like to put a link to where the page will be, if someone writes it (yes, I know you can argue the doco should get written first, but it isn't, so we've got to work with it).

The URLs of Confluence pages are no longer predictable because of the PageID (this wasn't the case some years ago, but never mind..)

If the alert has no page created, then obviously I'd expect Confluence to return a 404 type message. However, for pages that have been created, I'd like the user to end up there as normal.

All the alert documentation will be below a specific ancestor page, which already exists, so I know the URL/pageID for it.

By way of an example, let's say I have an alert called "disk_space". I'd like to generate a URL something like:

(the actual page will called "Monitoring: disk_space")

Onto possible solutions:

The PageIDs aren't predictable, so I think I'm out of luck there.

Short URLs (like the share URLs) are based on PageID, so I'm out of luck there too.

The search feature is quite close to what's required. I can perform a search with:

This returns at most one or two results, but there's apparently no way to do an "I'm feeling lucky" to immediately go to the first result.

Are there any other ways to work out a (possibly non-existent) page URL and send the user there?

1 answer

0 votes
Fabian Lim Community Leader Jan 05, 2022

Hi @Ralph Bolton

Welcome to the community!

Just to clarify, you have an alert system that sends notifications with links to confluence pages. However, new alerts get created on the fly, so in most cases no links to confluence exist. Is this correct? Are the alerts created by you?

I think that the only solution is to create the confluence page right away manually with no content when new alerts get created and add the link.


Yes, you're right - the monitoring system would like to generate the URLs, even if the pages don't yet exist.

It does seem I'm out of luck here. An "I'm feeling lucky" search feature would probably solve it quite nicely (ie. for pages that exist, it'd go straight there, for those that don't, the user at least gets to see some other, possibly relevant, pages).

For now I'm going with links to search results - it's the best that's possible, without having to create dozens of (probably empty, or at least "under construction") pages and then have some sort of lookup feature in the monitoring tool to look up the correct link for the alert in question.

Thanks for your suggestions :-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

41,251 views 28 130
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you