Forums

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

Jira automation - Copy full attachment path of images

Peter Reiser
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.
January 4, 2021

When we clone an attachment from Service management then we link the attachments from the original ticket using:

 

{{#issue.attachment}}

- [ {{filename}} | {{content}} ] - {{size}} Bytes - {{author.displayName}} - {{created.jiraDate}}

{{/issue.attachment}}

 

Now we want to display the images from the original ticket in the cloned ticket description using

 

{{#if(issue.attachment.mimetype.startWith("image"))}}

!{{issue.attachment.filename}}!

{{/}}

but the list is alway empty.

 

Any idea how we can only show images in a list ? 

 

Ideally we could replace the existing !images! in the description text  and replace it with !{{filename}}! of that image .

 

Any hints are highly appreciated 

Best regards Peter  

0 answers

Suggest an answer

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

Atlassian Community Events