Forums

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

Have all pages using a macro

Jacynthe_Thibault October 17, 2023

Hi,

We will be migrating to Confluence Cloud soon, but first we need to have all pages using SQL macros because we don't want these macros in the cloud.

I saw in "Administration/general configuration/macro usage", I have a link to pages that use the macro in question. But I just noticed that if someone has restricted the permissions on a page it does not appear in these lists.

So I would like a way (maybe by SQL query) to have the list of all pages using a macro (it's a third party macro) regardless of whether there have been restrictions on it.

Thanks

2 answers

1 accepted

2 votes
Answer accepted
Kian Stack Mumo Systems
Community Champion
October 17, 2023

@Jacynthe_Thibault

 

Please take a look at this page which contains details about the query you would need to run.

 

I would recommend using the source editor plugin to find out what the macro is called on the back end.

 

Thanks,

Kian

0 votes
Stiltsoft support
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, 2023
Jacynthe_Thibault October 17, 2023

Hi,  I tried with the field search MacroName: sql but it gives only the page where I have permission to see it.  It there are a restriction I don't see it (even if I am administrator in COnfluence)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events