-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 10.2.0, 10.2.6, 10.2.7
-
Component/s: Macros - Other Macros
-
1
-
Severity 3 - Minor
Issue Summary
The user macros on the macros usage page are missing/not shown post the upgrade to 10.2.6 version, while other macros are still listed.
Steps to Reproduce
- Create a few User macros
- Create some pages for testing, and add the user macros to the page.
- Navigate to Administration → General Configuration → Macros Usage
Expected Results
On the Macros Usage page, under App Name, the user-macro should show the list of user macros and their usage count
Actual Results
User-macro's are not seen under App Name
Findings:
Tested the behaviour with following versions:
9.2.12, 9.5.0, 10.0.1, 10.0.2 - User macros are visible in Macro Usage
10.2.0, 10.2.6, 10.2.7 - User macros are NOT visible in Macro Usage
As per [Confluence 10.1 release notes | Confluence Data Center 10.2 | Atlassian Documentation|https://confluence.atlassian.com/doc/confluence-10-1-release-notes-1627193577.html#Confluence10.1releasenotes-find-and-sort-most-used-macros-in-your-site] It says Atlassian and third-party macros, but it never mentions the usage of user macros.
We’ve improved the Macro usage reporting to help you make informed decisions about your macros. Now, you can see which macros are used most often, grouped by app, and easily distinguish between Atlassian and third-party macros. You’ll also find direct links to manage third-party apps in the Universal Plugin Manager (UPM)
We could not find any documentation related to User macros usage as well.
To confirm, we reviewed with the dev team in following channel and the team confirmed to raise it as a bug. Please reference below slack channel:
https://atlassian.slack.com/archives/CFJ8WA030/p1773205062572239
Workaround
Current workaround is to find the pages with specific macro mentioned in below KB article:
https://support.atlassian.com/confluence/kb/how-to-find-all-pages-and-spaces-that-use-a-specific-macro-via-sql/
Customer was also able to retrieve the user macro usage using CQL:
With this URL: __
/dosearchsite.action?cql=macro+%3D+"iframe"
where in the above url, iframe is the user macro name
But they are not happy with the workaround and would be better if the Macros Usage page shows the usage for User macros as well