Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to see which pages are using a particular Gadget

Phillip Ponzer [Cprime]
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.
July 1, 2015

Because the JIRA Agile Classic Gadgets are now gone, places in Confluence that used those gadgets are now showing errors.

Is there a way to search for the pages that still use a particular gadget?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Phillip Ponzer [Cprime]
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.
July 2, 2015

What I ended up doing was:

  1. Exported the BODYCONTENT table out of Confluence's DB as a .sql file
  2. Grep'd it for the particular gadget.xml file
  3. Parsed the grep output for the BODYCONTENTID
  4. Took those ID's and put them into an SQL query to get the latest version of each page

I sure wouldn't mind an easier way though!

0 votes
xpauls
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.
July 2, 2015

Maybe try searching for it using: macroName:"gadget" AND activitystream-gadget

Using this would find activitystream gadget. Use part of gadget url to find it.

TAGS
AUG Leaders

Atlassian Community Events