Forums

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

Is it possible to copy an attachment from sub-task to parent automatically upon attachment upload

Scott Federman
Contributor
December 12, 2017

IS there a script that will allow me to automatically copy an attachment from the subtask to the parent when the attachment is uploaded to the subtask?

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Andy Heinzer
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 Champions.
December 14, 2017

Hi Scott,

While I'm not sure about a means to do this when the attachment is uploaded, I did find another users script to do this same task in a post function.   Please see https://community.atlassian.com/t5/Answers-Developer-Questions/Scripted-post-function-copy-attachment/qaq-p/498490 for more details.

While that user posted their initial non-working script, it looks like he got some help from @Thanos Batagiannis _Adaptavist_ in regards to what packages could be used to make that work.  Perhaps this would help for your use case as well.

Regards,

Andy

TAGS
AUG Leaders

Atlassian Community Events