Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Share macro between confluence and jira

Alexander Herz October 15, 2018

The documentation says that macros can be share dbetween confluence and jira, see https://confluence.atlassian.com/adminjiraserver072/configuring-renderers-828787822.html:
"JIRA and Confluence can share macros".

Sadly, there is zero detail on how to actually do this. Confluence 5.1 allows me to specify custom macros in the admin page but I have found no way to specify custom macros for the wiki style renderer in jira.

The docu is alo very sparse on how to actually add a macro to the wiki style renderer. Do I need to create a confluence plugin and then install that on the jira server as an add-on or is there some other way of configuring this? Doing all these things in confluence is no problem.

Any help would be appreciated.

 

1 answer

0 votes
tier-0 grump
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2018

As you've surmised macros are just plugins.  The missing piece of the puzzle is how to enable a macro in the Wiki Renderer.  The secret here is to go to your Manage AddOns page, go down to the system tab and expand Wiki Renderer Macros Plugin  - all the macros available to you should then be listed and you can select it.  If you have a custom Confluence macro you want to try you will first have to add the plugin to your Jira instance first and then expand the Wiki Renderer Macro Plugin and select it

Alexander Herz October 15, 2018

I added a simple confluence macro to a jira servger and it said it cannot enable the plaugin, as it is for confluence. It seem I need to build a specific jira plugin. Currently, this link seems to be most promising:

https://developer.atlassian.com/server/jira/platform/extending-the-rich-text-editor-in-jira/

Nevertheless, there seems to be no way to reuse my custom confluence macro (which is not a plugin but some html/js etc configured in the custom macro page on confluence).

Suggest an answer

Log in or Sign up to answer