Remove Macro but Keep Content: Expand ("expand")

Remove Macro but Keep Content: Expand ("expand")

The macro name for Expand is expand.
Only the macro name field is required for this operation. Use the field Keep macro content to control whether the rich text body inside the macro is preserved when removing macros.

Example: Setting Parameters for the Expand Macro

Field

Value

Field

Value

Scan mode

Scan all pages (you have to select this option because Jira Search API doesn’t support expand macro)

Macro name

expand

Keep macro content

checked

Screenshot of the example:

image-20250602-092624.png

 

Tip: To check the macro name—open a page that already contains the macro, then click “...” → Advanced details → View Storage Format.