Hi
I am trying to use the built in cloning of an issue script that comes with the script runner service to create a process that will do the following:
"Upon the closure of a Priority 1, clone that issue, set the cloned issue type as change request, modify the priority of the clone as well as taking the value from a custom field and putting it in the summary field"
That is a brief outline of what I am trying to achieve, but am running into issues when it comes to the section of the clone scrip[ting service that deals with 'Additional Issue Actions', which is where i want to modify the various fields of the clone to contain different values, some of which are in Custom fields.
However, when ever I try to use the examples provided below the field e.g.Set Issue Summary or Set Custom Field and modify them to achieve my goal or even use the defaults as a way of testing, they always fail and produce the same error in the JIRA logs saying:
"ScriptException: groovy.lang.MissingPropertyException: No such property: set for class:" whenever it gets to the part of the script where the 'issueInputParameters' command is called.
Any help on this would be greatly appreciated and please ask for more information on the issue if required.