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
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,356 views 21 17
View question

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