Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Editing in visual mode breaks my links

Wade Tracy _Boise_ ID_
Community Champion
June 14, 2019

Anybody run into this issue?

  1. In visual mode, I paste a link to an attachment from another issue into the description--something like https://jira.example.com/secure/attachment/59727/test.xlsx
  2. It appears fine and is a working link when I save it
  3. I edit the description and save it
  4. The link now shows as
    [^test.xlsx]

    And it is just text, it no longer works as a link.

I guess that markdown (using the ^) is a shorthand for local issue attachments, but in this case since the attachment is on another issue, the markdown breaks.

This even happens if I use the markdown

[Test file|https://jira.example.com/secure/attachment/59727/test.xlsx]

while in text mode, but then edit in visual mode.

I'm guessing this is a bug and may be reported somewhere, but is anyone aware of a work around?  Telling users to never use visual mode is not going to work =)

2 answers

0 votes
Thilo Brause
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2019

I have the same problem using Jira Software 7.13.5.

Using "[" and "]" at start/end is a workaround for us. But this is definitly a bug in JIRA Software. Have you already raised an issue?

0 votes
Tanya C
Contributor
June 15, 2019

What if you put < > around the URL?  

<https://jira.example.com/secure/attachment/59727/test.xlsx>

 I don't have a Jira to test in here from home.  But I've found other cases where this works.

Or put the URL in a code block

{code}

Wade Tracy _Boise_ ID_
Community Champion
June 19, 2019

Nope, putting < > around the link just makes the link show up like:

<https://jira.example.com/secure/attachment/59727/test.xlsx>

Which then turns into:

<[^test.xlsx]>

Using a code block works, but then it's not a clickable link anymore.  That may be what we have to go with if I can't find another solution.

Suggest an answer

Log in or Sign up to answer