How to copy attachments to Sub-task and opposite directory?

When transition happen in parent issue, create Sub-task. At this point, how to copy all attachments in

parent issue to Sub-task? Also, when add any attachments to Sub-task and transition happens in Sub-task,

how to copy all attachments in Sub-task to parent issue? Are they possible? If yes, how can I do this in workflow?


1 answer

0 votes

The short answer is "code" - you'll need to find or write a "post function" that can create a subtask (there's a few addons in the marketplace that will do this without any need for further coding) and then add the attachments.  Similarly, another post function could be written to push attachments up.

However, this requirement feels wrong to me - duplicating attachments doesn't feel right, especially in the quantity you'll be doing them.  It would be far better to educate your users about where the single traceable attachment is, rather than duplicating it and hence allowing for uncontrolled and un-trackable branching .

Could you explain why you're trying to do this?

The user just want to do it since the user want to see same attachments on parent task

and sub-task. I have already explained the user your comment.

This is a case of "the user is wrong" - there is no gain from doing this that outweighs all the problems that they will cause by doing it.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

240 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot