The issue called "Onboarding" of a project will automatically create a Sub-task (using post functions at transition:create. We need to put some instructions in the Description field for users to complete the Sub-task. The content of the description is setup in the Behavior in ScriptRunner.
Syntax:
===================================
Hi @soni
If you wish to use scriptrunner post-function on Create Transition on Parent Workflow
then you can use "Create a sub-task" post-function.
Select Target Issue Type as <your-sub-task-type>
Fields to copy: Custom > Description (System field)
Additional Issue actions:
issue.description = '<your-description-verbiage-for-sub-task-only>'
So, whenever a Parent issue is created then the Sub-task will also create with your set description and it will only appear on Sub-task and not on Parent/Main issue.
I hope this helps.
Thanks,
Digvijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.