1
0
Fork 0

Merge pull request #154 from jayguidos/master

Add support for JIRA custom field type "option"
master
Bob Carroll 2016-05-30 10:26:18 -07:00
commit 800cb04ae9
1 changed files with 4 additions and 2 deletions

View File

@ -552,9 +552,11 @@ public final class Field {
itemMap.put(ValueType.NAME.toString(), realValue.toString());
realResult = itemMap;
} else if (type.equals("string") && custom != null
} else if ( type.equals("option") ||
(
type.equals("string") && custom != null
&& (custom.equals("com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes") ||
custom.equals("com.atlassian.jira.plugin.system.customfieldtypes:multiselect"))) {
custom.equals("com.atlassian.jira.plugin.system.customfieldtypes:multiselect")))) {
realResult = new JSONObject();
((JSONObject)realResult).put(ValueType.VALUE.toString(), realValue.toString());