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 Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

247 views 6 0
Join discussion

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