I'm trying to clone an issue using
com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CloneIssue
void cloneIssue (MutableIssue issue, def parent) {
def params = [
issue : issue,
//(CloneIssue.FIELD_PARENT) : parent,
(CloneIssue.FIELD_SELECTED_FIELDS) : null, //clone all the fields
] as Map<String, Object>
new CloneIssue().doScript(params)
}But I cannot for the love of god find where the properties are documented. I need to change the parent of the issue when cloning.
Thank you