SharePoint links not valid

Hi,

When using the Link->Web Link option in Jira, I'm finding that SharePoint links are invalid when they are in the following format.

https://xxxxx.sharepoint.com/test/_layouts/WopiFrame.aspx?sourcedoc={xxxxxxx}

This URL format is the default when the link is for a Word or Excel file (I believe the SharePoint link is something to do with SharePoint opening these files in an online view).

Does anyone know a solution for turning off URL validation on Jira Web Links or another solution to this problem?

5 answers

Hi Paul, that's interesting because the link should be created even using an invalid URL. For example, I tried to insert a link exactly like yours (even not having access to it) and the links was created without any error. BTW, I was using JIRA version 6.2.

I've seen this problem in JIRA 6.1 and have solved it by escaping certain characters with a preceding backslash.

It appears that some characters are being interpreted as meta-characters by the JIRA mark-up editor. We probably need someone from Atlassian to comment. I suspect its a problem that isn't restricted to SharePoint URLs but in checking whether I was understanding my problem correctly I found this and thought I'd try and be helpful!

So I had trouble linking to sharepoint list items - when looking at the full list I would try to copy the link address and paste it into my "create" form where I had a "sharepoint link" field.

This produced an "invalid URL"

Solved this with a work-around. I would open that specific item in a new tab and copy the URL in the new tab. Then I could paste it in with no problem.

It was something to do with how the tickets were being displayed (which is written in the URL).

Because I found the above answers a tad confusing, here's how to solve this.

When you create a link you need to use the JIRA external link formatting, and escape the curly brackets with a backslash within this.  Just using a backslash in a normal link won't work.  For example in the JIRA ticket add:

[link text|https://xxxxx.sharepoint.com/test/_layouts/WopiFrame.aspx?sourcedoc=\{xxxxxxx\}

It is stll the bug when using Confluence "Insert link". The

Workaround:

Edit the  Page and define the HTML tag as "<a class="" href="https://"

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,080 views 13 18
Join discussion

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