Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to let two issues share an attachment on Jira?

tommy guo
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.
July 11, 2013

As in I upload the attachment once to the first issue and make it such that the second issue can also view the attachment. I don't want to have to go back to the first issue in order to see the attachment.

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2013

Not natively - Jira doesn't have any way to know that arbitrary file X might be associated with more than one issue. It has a simple, flat, "attachment Y is on issue Z" structure and that's it.

You'll need to do some coding if you want to share/link to attachments. Maybe some display of a link to "attachments on linked issues".

4 votes
Jeremy S January 6, 2015

You can always permalink to the attachment.  Just copy the url from the 

ex) [^some-random-attachment.txt] on one issue can be accessed directly from another issue like http://yourjirainstall/secure/attachment/123456/arbitrary-text-but-use-actual-filename-for-saving_some-random-attachment.txt (where the "123456" is the autogenerated attachment id; everything following it is just convenience for naming the file if you were to download the attachment).

Sandeep Nair August 3, 2018

Cool, thank you!

3 votes
sschilz February 20, 2019

Existing answers do not provide steps to actually do this. 

Procedure to link to an attachment in a different JIRA issue

  1. In the issue where the existing attaachment is, right click on the image in the "Attachments" field, and select "copy link address"
  2. Switch to the issue where you want to create the link.  In the "Description" field, paste the link address, which will be something like:
    https://jira.company.com/secure/attachment/22618/AttachmentDescription.png
  3. surround the link with exclamation points and optional height/width to tell JIRA that it is a picture:
    !https://jira.company.com/secure/attachment/22618/AttachmentDescription.png|width=476,height=245!


  4. Save the issue! 
Randall Robertson
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.
February 20, 2019

I find you don't need to add the picture embed markup if you are using the WYSIWYG editor that is now the standard editor in JIRA (I'm on Server 7.x). It automatically interprets the link and shows the picture. The old editor (and the current optional text edit mode) would have required you to enter the markup to get that...

That also assumes you are pasting links to picture attachments and not other file types. File types JIRA doesn't know how to display come through as just links, still.

Max Cascone May 9, 2019

I prefer to use inline links. Ctrl-K is one of my favorite shortcuts.

[jira auto-completes them this way|http::/example.com]

(I think this way works too)[http::/another-link.com]

0 votes
Randall Robertson
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.
July 11, 2013

Sounds like the same question as https://answers.atlassian.com/questions/189376/how-do-i-programatically-set-the-attachment-of-an-issue-equal-to-the-attachment-of-another-issue#comment-189457. Maybe consolidate into one question to keep the potential for duplicate conversations down? Thanks.

Good, question, by the way. I have copied the attachment link to a comment in the other ticket a few times. Ugly and manual, but it works in a pinch.

sschilz February 20, 2019

That question is different - asks how to programmatically do it...

Randall Robertson
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.
February 20, 2019

True @sschilz. I think 5.5 years of these being separate questions also supports your conclusion. :)

Like # people like this

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events