My code
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.Issue
import com.atlassian.jira.issue.fields.CustomField
import com.atlassian.jira.config.SubTaskManager
... blabla (work but not important for my question)
(result: sum = 100 in customfield_10747 (scripted field))
def champMEA = customFieldManager.getCustomFieldObjectByName("MEA"); (works)
(In my form take the field numeric box MEA)
champMEA = ComponentAccessor.getCustomField("customfield_10747").getvalue()
(not working, how to update my field MEA with customfield10747 that contain 100 ???)
return sum
thank you