How to modify the heading of Content Report Macro
Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This guide is for informational purposes and is not eligible for support from Atlassian. If you have any questions about the information on this page, please reach out to our community at Atlassian Answers for help.
Solution
Use Case
The Header field of the Content Report Macro cannot be modified through the Confluence UI. This information is useful for user that wish to customize the header especially for translation purposes.
Resolution
Shutdown your Confluence
Go to
<CONF-INSTALL>/confluence/WEB-INF/atlassian-bundled-pluginsMake a backup of the confluence-content-report-plugin-x.x.x.jar. ( ℹ️ You might need to restored the jar in case it is corrupted due to the modication)
Create a new temporary folder.
Extract the confluence-content-report-plugin-x.x.x.jar into the temporary folder. ( ℹ️You can use common archiving tools such as winrar or winzip to extract the jar)
Open the i18n.properties file with from the following directory
<TEMPORARY_FOLDER>/com/atlassian/confluence/plugins/content_reportEdit the following value in the file
content.report.table.macro.heading.title=Title content.report.table.macro.heading.creator=Creator content.report.table.macro.heading.modified=ModifiedOpen the confluence-content-report-plugin-x.x.x.jar with archiving tools such as winrar or winzip
Add the modified i18n.properties into the confluence-content-report-plugin-x.x.x.jar.
Replace the old jar in the
<CONF-INSTALL>/confluence/WEB-INF/atlassian-bundled-pluginswith the modified confluence-content-report-plugin-x.x.x.jarRestart Confluence.
Was this helpful?