Forums

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

Get Attachment from Parent issue broken image

Gonzalo Benitez de lugo
Contributor
October 27, 2020

We created an automation rule that Clones Stories as Subtaks

When {Comment = "Clone"}
Then {Create Subtask}


Description:
{{issue.description}}
---
Copy of attachments from Parent:
{{#issue.attachment}} Attachment - {{content}}, {{/}}

The Description of the Subtaks includes the Description from the Parent + the URL of the attachments in the Parent.

If the user clicks on the thumbnail of the Parent – Jira shows the image. This is perfect.
If we click on that image that is shown and we 'Open in new tab' - I get the following url:

blob:https://xxxxx.atlassian.net/secure/attachment/10706/image-20201027-100224.png 

In the Description of the Subtask we're getting something like: 

Copy of attachments from Parent:
https://xxxxx.atlassian.net/secure/attachment/10706/image-20201027-100224.png,

*** Problem ***

When the user clicks on that link, instead of showing the image Jira is downloading the image.

Is it possible to create a URL to open the image?

We'd like to replicate the behaviour from the Parent. Something like "blob:https://xxxxx.atlassian.net/secure/attachment/10706/image-20201027-100224.png" would be great.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events