Hi there,
We want to take over fields from an issue picker with the Scriptrunner via Behaviors. That works fine too. Unfortunately we have some issues where user picker fields are empty.
So we have to make a user picker field empty from a behavior if there are no values.
Filling is no problem with setFieldValue(). How can we delete the value again?
We tried the following:
1.) ....setFieldValue("")
2.) ....setFieldValue('')
3.) ....setFieldValue(null)
4.) ....setFieldValue(-1)
5.) ....setFieldValue(0)
Nothing helps
We look forward to every constructive hint / help / solution
setFieldValue(null) is the correct call. I have done some testing on my environment and you are correct - it doesn't work. I would open a ticket with Adaptavist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.