Forums

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

Unable to reference an issue attachment in a comment

Deleted user March 25, 2021

I am trying to reference an issue attachment in a comment using the format described in other answers. Like this: 

 [^Example.xlsx]

However, it is not creating a link to the attached document, even though they share the same name. What is interesting, is that if I export the issue as an XML file, I can see that the comment is being created with an href to the file, however nothing shows up on the UI. 

1 answer

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2021

Hello @[deleted],

Welcome to Atlassian Community!

On the new issue view, currently, the only way to reference an attachment in the comments is by adding them using the “Files & images” directly in the editor.

The format [^Example.xlsx] works on the old editor (Wiki Markup) and on this new editor (Markdown) it’s not going to render the link correctly.

I tested on my local site and the problem occurs because the Markdown editor adds a \ in front of [^Example.xlsx] after the comment is saved and when removing it (only possible to remove using the old view), the image will show as a thumbnail on the new view.

There are feature requests suggesting the implementation of this ability:

With this said, even if the format [^Example.xlsx] worked, it would renderer the same as using the “Files & images”.

Kind regards,
Angélica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events