I have a script to create a new issue on a transition and copy the data from certain fields to the newly created issue. The new issue is created as expected, but the fields do not copy.
Here is the part of the script that does not want to work.
/*
copy fields from current issue to new issue
*/
newIssueKey.reporter = currentUser();
newIssueKey.customfield_11000 = customfield_11000;
newIssueKey.fixVersions = fixVersions;
admReindexIssue(newIssueKey);
Anyone have any pointers here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.