How to copy attachments from Parent to child Issues using Create on Transition

This article explains how to set a rule to copy attachments from a parent ticket to child ticket using the app Create on Transition.

Instructions

You need to add a post-function in the workflow associated with the parent issue in the create transition.

  1. To create a post function:
    1. Log into Jira as an Administrator and click  > Issues.
    2. Under the Workflows section, select the intended workflow and click the Edit link.
    3. Select the transition to which you wish to add the post-function. Select the Post Functions option as shown below:


    4.  Click the Add Post Function link. Select Create Issue from the available options.
    5. Once you add all the required fields to the post function, you see the post function as shown below:
    6. Click Update and publish the workflow.
  2. Now create an issue of any issue type.
    In this example, an issue is created with Task type.

  3. You will notice an issue is created from the parent issue and the attachment is also copied, as shown in the below screenshot:


The copy attachment post function works if the parent issue and child issue are from different projects. Or there should be two workflows in the same project and the parent issue should be in one project and the child issue should be in another.