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

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

346 views 20 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