Forums

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

Synchronize attachments between parent task and sub-task in both ways

Fariz Aliverdiyev
Contributor
February 23, 2022

Hello team. 

I would like to synchronize attachments between parent task and its subtasks and vice versa. Trying with Automation Rules (JWT) but nothing happens. Also, tried with Automation for Jira Pro result is the same.

Screenshot_9.png

I think, there are no problems with the automation itself because for other fields, and even for comments everything works correctly. 

Maybe there are other ways of sync between tasks? Maybe any example of related script?

Thank you in advance. 

 

1 answer

1 accepted

0 votes
Answer accepted
Sergio del Pino _Decadis AG_ February 23, 2022

Hi @Fariz Aliverdiyev

The problem with this rule is that, to update the Attachments (only new attachments will be added) virtual field, you have to write the Issue key from which to get the new attachments.

So, in this case, you should use the Issue key's field code instead, just like this:

%{trigger.issue.key}

The rest of your automation rule looks great!

I hope this helps.

Cheers,

Sergio.

Fariz Aliverdiyev
Contributor
February 23, 2022

Thank you very much! It worked.

Suggest an answer

Log in or Sign up to answer