I'm on Jira version 7.6.2 and ScriptRunner 5.5.5. I'm trying to create new issues via the built in clone during post function and change issue type at the same time. Both issue types are custom types and I don't get an error. The workflow reports No failures in the last 15 executions, and yet, no issues are being created. ScriptRunner settings are as follows:
-----------------------------------
CONDITION
issue.projectObject.key == 'EPMO'
issue.issueType.name == 'EPMO Project'
TARGET PROJECT
Same project.
TARGET ISSUE TYPE
Phase
FIELDS TO COPY
Custom (both issue types use the same screen and have all the same fields)
ADDITIONAL ISSUE ACTIONS
issue.summary = "Initiation"
issue.description = 'Auto generated Jira issue for project Initiation tasks.'
ISSUE LINK TYPE / DIRECTION
split to
-----------------------------------
The similar built in post function for creating subtasks works like a dream, but no go on the cloning. Any ideas what might be wrong?