Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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 Image Modified > Issues.
    2. Under the Workflows section, select the intended workflow
    ,
    1. and click the Edit link.
    2. Select the transition to which you wish to add the post-function. Select the Post
    Function 
    1. Functions option as
    the following
    1. shown below:
      Image Modified

    2.  Click the Add Post Function link. Select Create Issue from the available options.
     

    1. Image Modified
    2. Once you add all the required fields to the post function, you see the post function
    like the following
    1. as shown below:
      Image Modified
    2. Click Update and publish the workflow.
  2. Now create an Issue issue of any issue type.
    In this Exampleexample, an Issue issue is created of with Task typeTask.

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


Info
The Copy Attachment copy attachment post function works if the Parent parent issue and Child child issue are from different Projectsprojects. Or else, there should be two workflows in the same project and the Parent parent issue should be in one project and the Child child issue should be in another project.