Hi,
I have a user macro which works as a wrapper for the JIM macro, allowing us to inject variables when creating pages.
It works brilliantly except that it does not create a reciprocal link from the Jira issue to the Confluence page and I'm not sure why not. This is the relevant part of the macro:
<ac:structured-macro ac:name="jira" ac:schema-version="1" >
<ac:parameter ac:name="server">Jira</ac:parameter>
<ac:parameter ac:name="cache">false</ac:parameter>
<ac:parameter ac:name="key">$body</ac:parameter>
</ac:structured-macro>
Does anyone have any ideas? I think it was actually working before we upgraded to Confluence 6.8.2 and Jira 7.9.2 as no one had raised an issue before, but not sure.
Thanks
Maree
Hi Maree!
Unfortunately, I was unable to get this to work either. It doesn't work in Confluence 6.9.1 with Jira 7.9, but it also didn't work when I tested as early as Confluence 5.10.8 with Jira 7.2.0. I'm not sure this was ever possible with a user macro. My guess is there's some code in the Jira plugin in Confluences that works behind-the-scenes with the macro to create that reciprocal link.
Thanks Zak, that's what I figured, but as the user macro is really acting as a wrapper around the existing Jira macro I was hoping to find some way to trigger it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, Jira links aren't generating either when using wiki markup in a $action.getHelper().renderConfluenceMacro() call.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.