How to have other macros within a dynamic macro

This is related to this topic Show macros within dynamic macros, but as the related tickets are lying around gathering impact I thought I’d ask for advice instead.

If one wishes to show another macro within a dynamic macro, how can that be accomplished. For example, how would one show the jira issues macro within a dynamic macro?

The only documentation I have found about this is
https://ecosystem.atlassian.net/wiki/spaces/CONF/pages/293994679/Rendering+Confluence+content+using+the+content+rest+API

Basically you will need to get both webresource tags and the webresource superbatch tags, plus superbatch metatags and add them to the head.
/rest/api/contentbody/convert/view?expand=webresource.superbatch.metatags,webresource.superbatch.tags.all,webresource.tags.all

Or get the urls and add them explicitly
/rest/api/contentbody/convert/view?expand=webresource.superbatch.metatags,webresource.superbatch.uris.all,webresource.uris.all