Finding Pages with broken macros with CQL? or anything else? Edited

Hi there,

i have a Template where softwareapplications are added, which have a {excerpt-include:|nopanel=true} field. so basically its an excerpt-include without a destination.

the reason for that is, that the user can directly leftclick and choose the page (which should be included) without typing {excerpt-include} and go through the dialogue.

Now to my question:

if the user forgets to choose the destination and saves the page, it says "Page not found" (or "Seite nicht gefunden" in german).

My plan was to "detect" such pages (to correct the mistakes) with CQL using something like macroName:excerpt-include* AND "Page not found", but this doesnt work. Somehow i think, CQL can not find the error-output of this macro.

Does anybody have an idea for finding such errormessages from build-in confluence macros?

 

1 answer

This widget could not be displayed.

Im adding more Details:

1 Edit a Page

2 Insert {excerpt-include:pagenamewhichdoenstexist|nopanel=true}

3 Save Page and get the error: .... No Link could be created for ....

 

So long story short. i wanna find such macro errors to fix them. First i thought, the searchbox, but when i enter "no link could be created" it shows no pages.

 

So, how do i find misconfigured macros to fix them?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

406 views 4 6
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