This article explains how to link the parent of the current sub-task to the new ticket issue in Create / Clone issue(s) (JMWE app) post-function.
\uD83D\uDCD8 Instructions
Navigate to the intended workflow where you wish to make the necessary changes in the changes and switch to edit mode.
Select the required transition you wish to edit.
Select the Post functions tab and click
Add post function
.Add the “Create / Clone issue(s) (JMWE app)” post-function.
Fill in the your required details.
Select Under the Post-creation script section, select the checkbox “Run Run a Groovy script after the issue is created” under “Post-creation script” and add the below “Postcreated checkbox and then enter the following in Post-creation script text box:”
Code Block language groovy if(issue.parentObject) newIssue.linkIssue("relates to",issue.parentObject)
Replace relates to
with the desired link name.
With thisNote: You should replace “relates to” with whatever link type you wish to use.
Now, when the transition is executed on the sub-task, a new issue is created with the your configured details and then linked to the current sub-task's parent.
...
References
\uD83D\uDCCB Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|