Hi,
My request is very simple :
I want to set customfield values during a transition by groovy script. I'm able to do this with text customfield, like this :
IssueInputParameters issueInputParameters = new IssueInputParametersImpl();
issueInputParameters = issueInputParameters.addCustomFieldValue("customfield_13700","All Closed");
issueInputParameters = issueInputParameters.addCustomFieldValue("customfield_12704",issue.getCustomFieldValue(customFieldManager.getCustomFieldObject("customfield_12704")));
This code works for text customfields, but not for date or choice list customfields.
I heard that for choice list customfields, I have to use the option ID, but I have not tried yet.
Is anyone can help me ?
Thank you.