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.
Misc Workflow Extensions has a post-function that can do this.
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.