Clone a version and its associated issues using Jira automation
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
要約
This page explains how we can create an automation rule to clone a version and its associated issues using Jira automation while releasing a version.
ソリューション
- Create a automation rule with Version Released trigger.
Add Create Variable action to store released version name.
Variable Name: previousversionnameSmart Value: {{version.name}}
Add a Create version action to create new version. Let's say the new version name is same as old with a prefix clone.
Version name: clone{{version.name}}
You can also add other parameters like Release date/start date/description of the version.
Add another variable to store newly created version name.
Variable Name: newversionname Smart Value: clone{{previousversionname}}
Add a Branch rule, select Branch rule/related issues and select JQL. This will fetch all issues associated with the version.
fixVersion = "{{previousversionname}}"
Add a Clone Issue action under this branch to clone issues associated with the version and link the cloned issues with the new version by adding below smart value for fix version field.
{{newversionname}}