Additional valid URIs in Project shortcuts

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

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>

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:" };

 

Hey Boris,

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

Regards,

Marc

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

49 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you