I created text area custom field using following code
testStep = customFieldManager
.createCustomField(
“Test Step”,
“Test steps for execution”,
this.customFieldManager
.getCustomFieldType(“com.atlassian.jira.plugin.system.customfieldtypes:textarea”),
this.customFieldManager
.getCustomFieldSearcher(“com.atlassian.jira.plugin.system.customfieldtypes:textsearcher”),
contexts, issueTypes);
But i am out of ideas for single select filed what will be the key value and how i can add options
com.atlassian.jira.plugin.system.customfieldtypes:textarea
in place of textarea what i need to add for single select and how to add options to this select option
Thanks