From 1e86c87a7e378c7b2ac93685d174dc7bd50a608a Mon Sep 17 00:00:00 2001 From: osvaldo Date: Tue, 30 Sep 2014 15:34:27 +0200 Subject: [PATCH] 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 --- src/main/java/net/rcarz/jiraclient/Field.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/rcarz/jiraclient/Field.java b/src/main/java/net/rcarz/jiraclient/Field.java index 6722bd5..95cd9c5 100644 --- a/src/main/java/net/rcarz/jiraclient/Field.java +++ b/src/main/java/net/rcarz/jiraclient/Field.java @@ -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)