I would like to use the below script to clone issue
Copy an Issue to a New Project and Link to the Original - Adaptavist Library
Nevertheless how to change the summary of cloned issue during clone by :
com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CloneIssue
I didn't find the corresponding parameters such as
def params = [
(CloneIssue.FIELD_TARGET_PROJECT) : targetProjectKey,
(CloneIssue.FIELD_TARGET_ISSUE_TYPE) : null,
(CloneIssue.FIELD_COPY_FIELDS) : AbstractCloneIssue.COPY_ALL_FIELDS,
(CloneIssue.FIELD_SELECTED_FIELDS) : null,
(CloneIssue.FIELD_COPY_COMMENTS) : false,
(CloneIssue.FIELD_USER_KEY) : null,
(ConditionUtils.FIELD_ADDITIONAL_SCRIPT): ["", ""],
(CloneIssue.FIELD_LINK_TYPE) : linkBetweenIssues
] as Map<String, Object>