Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Create a sub-task - script-runner

Jacob francois October 19, 2018

Additional issue actions-

 

I am looking to set a custom field ...

 

def cf = customFieldManager.getCustomFieldObjects(issue).find {it.name == 'MyCustomFieldType'}

issue.setCustomFieldValue(cf, 'my value')

 

I changed mycustomfield to "group". (which is the name of the field)

 

I changed 'myValue' to "mobile'. 

 

what am I doing wrong ? 

 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Joshua Yamdogo @ Adaptavist
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.
October 24, 2018
TAGS
AUG Leaders

Atlassian Community Events