Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleHow to identify the count of users/groups utilizing an application within the Jira Confluence instance?

Unfortunately, there isn't a direct way to track the exact number of users using this plugin, as it is embedded within Confluence pages. However, you can monitor the frequency of its usage and the specific pages where it is employed. Refer to the steps outlined in the screenshot below to gain insights into the app’s usage patterns.

image-20240506-051143.png

Or you can perform an advanced search for the macro name (see below), which will give you a general idea of how many pages it has been used on. This will not consider pages you can’t see or if the app is used multiple times on a page.

Code Block
ac:name="html-macro"

 

Here is another process provided by Atlassian to search the usage of macros via API; refer to the below documents:

https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/ https://developer.atlassian.com/cloud/confluence/rest/intro/#status-code

To use the API search function, you must add the below search after your instance URL. The first will give you all pages with the HTML macro up to the 1st 25 uses. The second raises the limit to 250.

Code Block
/wiki/rest/api/content/search?cql=macro=%27html-macro%27
/wiki/rest/api/content/search?cql=macro=%27html-macro%27&limit=250

...