I am trying to implement SAFe® 6 essential adapted to the way some stakeholders are working. Thus, I have created a project for the PI Planing. I want at the end of a PI Planning to populate the backlog of the DevSec with all the tasks defined during the PI Planing.
I have two project PI and DevSec.
In PI, I have Jira Epic renamed SAFe®. Each Jira Epic has one or several children. I have defined issuetype SAFe® - Task, Bug and Hotfix for that. All of will have subtasks.
When a Jira Epic, ie SAFe®, is approved in the project PI, I want:
1 - if the SAFe® does not exist in DevSec:, to create the SAFe® in DevSec with the same description than the SAFe® in PI. I want this SAFe® to be disclosed as the dubplicate of the SAFe® in PO.
2 - to create for each child of the SAFe® in PI that is not a subtask, I want to create one that is exactly the same IssueType in DevSec. I want to copy the description, the story points, the Test Plan. I want to create a link that disclose this jira issue in DevSec duplicates the one in PI. And obviously, I want to retrieve the child relationship that I have in PI.
I manage to do part of this. Typically created a new issue in another project, link the newly issue created with the other. But I have a hard time to create the Epic only if it does not already exist and to link the newly created issue to this epic.
Thank you.