Customisable url to Jira issue

Issue #902 new
Raphael Borg Ellul Vincenti
created an issue

The current scm-jira-plugin defaults to using the following link pattern when replacing a Jira issue with a link.

<a target="_blank" href="{0}/browse/$0">$0</a>

Would be great to be able to change the following link to accommodate different renderers, eg: markdown


Comments (4)

  1. Sebastian Sdorra repo owner

    Could you describe a use case for an alternative renderer? The link is mainly for web-ui of scm-manager. Formatting the link as mardown would break the scm-manager ui.

  2. Raphael Borg Ellul Vincenti reporter

    When using the slack plugin, we are posting the {{{description}}} tag which is the commit message of that change set. When a JIRA issue is referenced inside the commit message, the jira-plugin is currently always replacing the text with an html formatted URL.

    When rendering this automated commit message inside a mattermost channel, the URL is not formatted correctly as it is expecting Markdown instead.

    Another possible use case would be to disable the rendering of the URL and replace it with


    There is not configuration to handle this use case right now should you only want to make use of the automatic workflow triggers. This was not my intended use case.

  3. Log in to comment