You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

On this page

Use case

Clone an epic, the tasks under the epic and the sub-tasks of these tasks.

Prerequisites

Set up custom fields

Create a Text (single line) custom field

Name: Template Issue




Configuration

Add the first Create issue post function
Add a Create issue post function to the desired workflow transition.

Issues to be created

Mode

Choose Single issue

Issue type

Choose Parser expression (standard issue type) and write the following expression:

%{issue.issueType}

Summary

Enter the following expression

CLONE - %{issue.summary}

with parsing mode set to Advanced Text

Additional options

Update the following fields

Epic Name

Choose Parsed text (basic mode) and write the following expression:

CLONE - %{issue.summary}

Resolution

Choose Parsed text (advanced mode) and write the following expression:

null


Copy remaining fields

Select From current issue and All remaining fields

Add a Relates to issue link and link it to the current issue

Add a second Create issue post function

Issues to be created

Mode

Choose Multiple issues

Expression

Enter the following parser expression

toStringList(%{issue.cfnnnnn})
# Replace the field code with the one of your custom field. Use the field dropdown to automatically insert the field code.
# You can use any field supporting multiple options, e.g. checkboxes or multi-selects.

with parsing mode set to Text list

Issue type

Choose Selected issue type → Sub-task

Parent issue

Choose Current issue



Screenshots



Screencast



Related use cases


If you still have questions, feel free to refer to our support team.