Hi Jamie Echlin,
I was trying to use your script to set Select List (multiple choices) type custom field values individually(1st value to fist clone issue, 2nd value to second clone issue - number of clone issues based on the total number of values updated into Select List ) to cloned issues using my below script.
But I am getting ERROR while setting the component value as::
[Static type checking] Cannot find matching method
com.atlassian.jira.issue.MutableIssue#setComponentObjects(java.util.List<com.atlassian.jira.bc.project.component.ProjectComponent>). Please check if declared type is right and if method exists @ line 25, column 9.
@@@ newIssue.setComponentObjects([component])
Even I tried to use setComponentIds() approach to update the Component field into cloned issues - But Cloned issues are created but Component values are copied from the parent issue component field instead of from select list....
Hi Jamie Echlin, I was trying to use your script to set Select List (multiple choices) type custom field values individually(1st value to fist clone issue, 2nd value to second clone issue - number of clone issues based on the total number of values updated into Select List ) to cloned issues using my below script. But I am getting ERROR while setting the component value as:: [Static type checking] Cannot find matching method
com.atlassian.jira.issue.MutableIssue#setComponentObjects(java.util.List<com.atlassian.jira.bc.project.component.ProjectComponent>). Please check if declared type is right and if method exists @ line 25, column 9. @@@ newIssue.setComponentObjects([component])
.... Not sure why??
Even I tried to use setComponentIds() approach to update the Component field into cloned issues - But Cloned issues are created but Component values are copied from the parent issue component field instead of from select list....
issueInputParameters1.setComponentIds(component?.getId())