I'm attempting to use the Structure API to create a new Structure, add Jira tickets to it, then add an extension: Extend using Parent Link from Advanced Roadmaps(Portfolio) for Jira. However, when I try this, I'm getting:
"failed to add JQL generator: It will be impossible to add it to the structure because of the automation installed: Forest is not editable. You can drag-and-drop the item to a different location."
I see a solution to this problem when attempting to add in GUI (https://community.atlassian.com/forums/Jira-questions/Structure-Error-quot-You-are-about-to-create-a-generator-It-will/qaq-p/982614).
How do I solve the problem when using the API?