Additional valid URIs in Project shortcuts

Marc Rodriguez Sanz June 8, 2016

This question is in reference to Atlassian Documentation: Project shortcuts

Hi there,

We are trying to add links to resources with different protocols rather than the default ones (listed in the Atlassian documentation), such as "onenote://"

 

image2016-6-8 14:23:24.png

 

However, JIRA does not accept them.

Although we have seen there is already an open issue for almost 10 years to fulfill this https://jira.atlassian.com/browse/JRA-11505 (awaiting development), we would like to know what system plugin provides this functionality, so we could try to apply a patch to it and allow these additional URIs to be used.

 

Thanks in advance and regards,

Marc

1 answer

1 accepted

1 vote
Answer accepted
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 2016

The plugin should be the jira-projects-plugin 

<dependency>
  <groupId>com.atlassian.jira</groupId>
  <artifactId>jira-projects-plugin</artifactId>
  <version>x.x.x</version>
</dependency>
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 2016

The whitelisted prefixes are 

private static final String[] whitelistedPrefixed = new String[] { "http://", "https://", "ftp://", "ftps://",
"mailto:", "skype:", "callto:", "facetime:", "git:", "irc:", "irc6:", "news:", "nntp:", "feed:", "cvs:",
"svn:", "mvn:", "ssh:", "itms:", "notes:", "smb:", "hipchat:", "sourcetree:" };

 

Marc Rodriguez Sanz June 9, 2016

Hey Boris,

Thanks a lot, that was very helpful!! Problem solved!

Regards,

Marc

Suggest an answer

Log in or Sign up to answer