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.
- To create a post function:
- Log into Jira as an Administrator and click > Issues.
- Under the Workflows section, select the intended workflow
- and click the Edit link.
- Select the transition to which you wish to add the post-function. Select the Post
- Functions option as
- shown below:
- Click the Add Post Function link. Select Create Issue from the available options.
- Once you add all the required fields to the post function, you see the post function
- as shown below:
- Click Update and publish the workflow.
- Now create an Issue issue of any issue type.
In this Exampleexample, an Issue issue is created of with Task typeTask. - You will notice an issue is created from the parent issue and the attachment is also copied, as shown in the below screenshot:
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. |