Forums

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

Copy attachments from parent to all its sub tasks

Pranita Warik September 16, 2020

On Create action of Parent issue, I am creating a sub task. In the post function, after create sub task, I have added:

Copy / Move Attachments (JSU): to copy the attachments of parent to sub task.

But this does not work. The attachment is not getting copied to the sub task. Kindly suggest how to achieve the same. I have the JSU plugin enabled.

The Post Function is :

CaptureCopyAttachment.JPG

1 answer

1 accepted

1 vote
Answer accepted
Maria Kazakou {Appfire} September 16, 2020

Hi  @Pranita Warik 

Issue links are only created after all post-functions of the create transition are done, you cannot copy/move attachments to a linked issue in the create transition.

However, the Create Linked Issue Post Function has a section to configure copying/moving attachments to the new issue with very simple steps. On the Execution section of the "Create a Linked Issue" post-function configuration, specify the copy of the existing attachments or the attachments added during the transition. See Create a Linked Issue for further details.

Screen Shot 2020-09-17 at 08.42.58.png

 

I hope this helps! Should you need more information or support, reach out to the Beecom products team on our Service Desk.

Best,

Maria

Pranita Warik September 17, 2020

HI @Maria Kazakou {Appfire} 

I tried the Create Linked Issue option. Here the problem is with the Issue Assignee.

The options available in the Issue Assignee dropdown are not feasible for my use case.

Usecase:

On Create Issue (for the parent), I take the inputs of the users (who will be the assignees in the sub tasks) using the customfields. Eg. there is a Safety Manager Customfield which I update as Alice. Then when the sub task is created for Safety Manger, the assignee is mapped as Alice.

Maria Kazakou {Appfire} September 17, 2020

Hi @Pranita Warik ,

You can also set the assignee by copying from a custom field to Assignee using a "Copy To New" configuration. If the custom field is a user field, you do not need to do any further checks, but if you’re copying from a text field, the value must be the username.

Does this work for you?

Like Pranita Warik likes this
Pranita Warik September 17, 2020

Hi @Maria Kazakou {Appfire} 

So this means all the values which I want to show in the sub task, have to be done by Copy To New (from source i.e. parent to destination i.e. subtask)

Can we copy All the CustomFields of Parent by default to sub task; the way it is done in Create a sub task:

Fields to Copy All option.

Maria Kazakou {Appfire} September 17, 2020

Hi @Pranita Warik 

Unfortunately, this is currently not possible with JSU.

I'm sorry for not being able to help you with that but should you need further support, please reach out to our Service Desk.

Best,
Maria

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.1
TAGS
AUG Leaders

Atlassian Community Events