Hi community,
I want to update a field type 'Message Custom Field (for view)', with groovy scripts.
Can you helpl me?
Thanks in advances
Hi Edard,
Your question is probably too general - what exactly do you need to do with the field?
For some Groovy examples, I recommend looking at https://library.adaptavist.com/
Pavel
Hi @Pavel Junek
My question is for this:
def value = 'false'def cf_nota = ComponentAccessor.getCustomFieldManager().getCustomFieldObject(18710L) //Notadef val_nota = issue.getCustomFieldValue(cf_nota)log.warn('Valor inicial-->'+val_nota)cf_nota.updateValue(null,issue, new ModifiedValue(issue.getCustomFieldValue(cf_nota),value ),new DefaultIssueChangeHolder());
Because I can't for the type of field, in the custom field tat we use, we can change but in this case we can't.
Thanks
Oh, so unfortunately I can't help you in this case (I don't understand much of Groovy's script).
It looks like you're new here. Sign in or register to get started.