1
0
Fork 0

Add support for JIRA custom field type "option"

master
jay.guidos 2016-05-25 09:27:41 -04:00
parent a1a0b197c2
commit 027a407109
1 changed files with 4 additions and 2 deletions

View File

@ -550,9 +550,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());