List pages containing a specific macro

I want to make an admin overview listing all pages that contains a specific macro?

I am considering using a text search but was wondering if you have any other inputs?

Another approach is to let the macro on each pages save information as its inserted/displayed but such a structure seems a bit backwards and will demand managing when a macro is removed again.

I would have assumed that you could use CQL to search for all content with that Macro: https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/#macro

But I’ll have to double check what identifier you should use for a Forge App Macro.

1 Like

I know this is a bump - but did you ever discover what or how to search for a forge macro? I have not been able to find any information on this, and I have tried the following:

  • key registered in manifest.yml
  • full key output in Storage Format (which seems to be installation id + resource + key)?
  • resource + key
  • installation ID + key registered in manifest.yml

None of these seem to work.