Hi community,
I want to update a field type 'Message Custom Field (for view)', with groovy scripts.
Can you helpl me?
Thanks in advances
Community moderators have prevented the ability to post new answers.
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) //Nota
def 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, so unfortunately I can't help you in this case (I don't understand much of Groovy's script).
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.