Hello,
I installed "Quisapps Jira Scripting Suite" plugin on my Jira, I need to execute jython script on workflow transition so I use Jython post-function script.
I try to edit a customfield so I do that :
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.CustomFieldManager
import com.atlassian.jira.issue.fields.CustomField
customFieldManager = ComponentManager.getInstance().getCustomFieldManager()
customField = customFieldManager.getCustomFieldObject("customfield_10008")
issue.setCustomFieldValue(customField, "15/02/2012 10:02")
But I have an error cause by the ComponentManager, he's not defined (name 'ComponentManager' is not defined)
I search information about this error but I failed. I hope you can help me.
Cheers,
Manuel.