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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

302 views 0 12
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot