bsorrentino/maven-confluence-plugin

Jira server targeting when multiple Jira instances integrated with one Confluence instance

apanasovich opened this issue · 6 comments

The plugin adds Jira ids in the following format:
{jira:ABSD-12345}
Sometimes the Confluence has more than one Jira instance integrated with it, in which case it resolves the jira link by appending the first jira url prefix from the list.
There is no possibility to configure on the plugin side what Jira server should be used for the Jira links.

Suggestion is to add jiraUrlPrefix plugin configuration parameter and, for example, to generate the macros in a form of:
{jira:<jiraUrlPrefix>/ABSD-12345}
Or any other solution to support Jira server targeting. Thanks

Hi, thanks for feedback

This seems a good enhancement

I'll working on

Hey @bsorrentino is there any solution for this requirement? I need something like {jira:key=jiraissue}

Hi @yuecels

Jira support in this plugin is not in active development from a while.

What I have understood is that you need a configurable macro.

I'll try to take a chance to give a look to understand if there is a simple solution to give you the required flexibility

Hi @bsorrentino
thank you, it would be great.

I've moved the Gitlog + Jira implementation in a new module to simplify enhancement and PR

Solved by PR 267