Update multiSelector field

Eduard Diez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 20, 2022

Hi community

 

I'd create a new field, type multiselectro, and I need to update by groovy post funtcion.

Anybody knows how I can do this?

 

Thanks

 

I did this:

 

def array = [Framework, Hardward, Laptop]
def trigerTCA = ComponentAccessor.getCustomFieldManager().getCustomFieldObject("customfield_19504")

trigerTCA.updateValue(null,issue,new ModifiedValue(issue.getCustomFieldValue(trigerTCA), array.toString() ),new DefaultIssueChangeHolder())

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events