I am having trouble finding a script example to clear a custom field during a post function in transition.
Basically, I have a cfValue that will have a value in one step, but during a specific transition, I want that value to now be null.
Any help is appreciated.
Thanks,
Melissa
To clear a custom field in a script, set the value to be empty. My notes say
customFieldX.updateValue(null, issue, new ModifiedValue(issue.getCustomFieldValue(customFieldX), ""),changeHolder)
I am getting the following errors
unable to resolve class ModifiedValue @ line 1, column 39. customFieldX.updateValue(null, issue, new ModifiedValue(issue.getCustomFieldValue(customFieldX), ""),changeHolder)
@Melissa McConnell , were you able to resolve this as Nic said?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.