Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

List of Pages with broken links in a Space

Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2011

I there any option to list all pages in a space that contain one or more broken links?

Thank you.

4 answers

1 accepted

2 votes
Answer accepted
Kay Brown
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2011

I created a report to do that. Here is the code.

{section}

{report-info:global:current date|format=MMMMM-dd-yyyy}
{section}

{section}

{report-block}
{space-reporter}

{text-sort:space:name}

{space-reporter}

{report-body}

{report-info:space:name|link=true}

{report-list}

{local-reporter:space:orphaned pages}
{text-sort:content:title}

{local-reporter}

{report-body-1}{report-info:content:title|link=true} (Created by)

{report-info:content:creator|link=true} {report-body-1}

{report-empty}_No orphans in this space_{report-empty}

{report-list}

{report-body}

{report-block}
{section}

Dee Elling October 20, 2011

apparently these macros are not available from Confluence out-of-the-box; there's some other plugin you have to get though I can't remember what it is right now

Kay Brown
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2011

You are welcome, Dee. I hope everything is working well for you now.

Regards,

Kay

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2015

Seems not to be valid for newer Confluence 5.x+

Kay Brown
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2015

Hi Sorin, You need to have the reporting plugin. Kay

0 votes
Dee Elling October 20, 2011

THANK YOU Kay for posting the report code!

0 votes
Dee Elling October 20, 2011


here goes:

Customware Link Validator Plugin - only for external links

http://wiki.customware.net/repository/display/AtlassianPlugins/Link+Validator+Plugin

for internal links you need the Linking Plugin, though the description of it is not so obvious so you wouldn't know that it contains the undefined-links macro which helps find broken links

http://wiki.customware.net/repository/display/AtlassianPlugins/Linking+Plugin

and then you need the reporting plugin to create your own report of things you want to know

http://wiki.customware.net/repository/display/AtlassianPlugins/Reporting+Plugin

Sorin Sbarnea (Citrix)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2015

Irony, all links broken.

0 votes
Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 17, 2011

Adolfo,

You can use these macros on a page to give you the broken and uncreated links:

{undefined-links}

{orphaned-links}

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events