Forums

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

Share attachments via automation

Daniel Bermudez
Contributor
December 6, 2023

I would like to know if there is a way, via automation, to clone the attachments from a ticket to the clone of that ticket

1 answer

1 vote
Mohamed Benziane
Community Champion
December 6, 2023

Hi,

yes this possible via the edit issue action then copy the attachment from the issue

Daniel Bermudez
Contributor
December 7, 2023

I have this automation and it works, but what happens is that when the automation runs, it duplicates the attachments that already existed previously. Do you know how to fix this?

Daniel Bermudez
Contributor
December 8, 2023

image.png

Mohamed Benziane
Community Champion
December 8, 2023

I saw someone on the community with this issue and end up with an automation that delete all the attachment in the destination issue then copy the attachment to avoid duplicate attachment.

Daniel Bermudez
Contributor
December 8, 2023

but if i do this, the attachments that already exists will be deleted? 

Mohamed Benziane
Community Champion
December 8, 2023

Yes in this scenario we assume that the attachment came only from the linked issue

Daniel Bermudez
Contributor
December 11, 2023

How do I create that automation

The trigger should be ""When issue updated"? 

Daniel Bermudez
Contributor
January 18, 2024

Hello, sorry to bother again

Is there any way to make this work in backwards too?

Right now i have 2 automations, 1 that deletes the previos attachments
and one that copy the attachments

the problem is that with these two working together, when i try to place an attachment from the child ticket to the parent, it does not work, it only works if I place the attachment on the parent to the child...

Suggest an answer

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

Atlassian Community Events