Hello,
We have Parent_Issue_#1 working by Workflow_#1 (if workflow maters).
Parent_Issue_#1 has Sub-task_#1. Sub-task_#1 works by Workflow_#2 (if workflow maters).
We have to create a Sub-task_#2 for Parent_Issue_#1.
"Create a sub-task" have to be triggered from Sub-task_#1 on one of its workflow (Workflow_#2) transition.
Result should look like:
Parent_Issue_#1
└ Sub-task_#1 (creates Sub-task_#2 at one of its workflow transitions)
└ Sub-task_#2
We try to achieve it via ScriptRunner scripted post-function.
How can I point at parent issue to be able to create a sub-task in my case?
Edited (removed some code because understood it was wrong).