Hi everybody,
In Jira 4.1.2, we used a groovy script and Atlassian API to update a single select list custom field value using this kind of code (cfCustomFieldDDL is the custom field object, adStd is the issue, "None" exist in the options list):
cfCustomFieldDDL.updateValue(null, adStd, new ModifiedValue(adStd.getCustomFieldValue(cfCustomFieldDDL), "None"), changeHolder);
This was effectively setting the selected item of the drop down list to "None". Now that we just upgrade to Jira 4.4.4, this dont work anymore because the customfieldvalue table (stringvalue field) now store the ID of the string, instead of the string itself. I tried to update the customfield with the ID of the string (supplied either as "12245" or 12245) but this dont work.
Please help, this is blocking for me!