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

This widget could not be displayed.

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.

This widget could not be displayed.

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!

This widget could not be displayed.

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).

This widget could not be displayed.

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\}

This doesn't appear to work in the current JIRA Cloud version. I tried it using the inline [title|link] formatting and using the dialog to add a Web Link. For the inline version, the link is not processed correctly. For a Web Link, an error is reported:

Invalid 'URL'. Make sure you include the full URL (e.g. http://www.google.com).

The solution was to use URL encoding for '{' and '}'. For example: '{foo}' needs to be converted to '%7Bfoo%7D'

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

64 views 1 0
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