1
0
Fork 0

Added securitylevel as type.

It follows the same behavior of type string.
I tested it setting the field using a valid id on the issue.update
action
master
osvaldo 2014-09-30 15:34:27 +02:00
parent c4713326a3
commit 1e86c87a7e
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ public final class Field {
json.put(ValueType.KEY.toString(), value.toString());
return json.toString();
} else if (m.type.equals("string")) {
} else if (m.type.equals("string") || (m.type.equals("securitylevel"))) {
if (value == null)
return "";
else if (value instanceof List)