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

Michael December 7, 2017

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

0 votes
Michael December 8, 2017

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
TAGS
AUG Leaders

Atlassian Community Events