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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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