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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

780 views 23 12
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