Hello Community,
please enlight me... I want to create new Issues (using mutable issues) and set the value for an CustomField equal to the value of a variable. But it will not work! I used the following code for mutable issues:
void setCustomFieldValue(CustomField customField, Object value)
But it doesnt accept my variable as valid value. How can I change that?
If you need more context: I used a jql to find issues of an issuetype. For every found issue I want to create a new Issue of another issuetype and copypaste the values of the customfields from the old issue.
You are creating new variables in the parameters when you are saying "type name" (object value and customfield customfield)
You should be just passing the variables that you've already created into the call, not creating new objects. Remove the type definition bits in the call.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.