Details
-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
4.2
-
4.02
-
Severity 2 - Major
-
-
Description
(This is taken from a comment on another issue)
The problem is actually with an empty value being handled in 2 different ways.
Here is an empty value for labels:
"labels": { "name": "labels", "value": [ ], "type": "com.atlassian.jira.issue.label.Label" },
Notice that the value is an empty array.
Here is what happens when the description has an empty value:
"description": { "name": "description", "type": "java.lang.String" },
In this case, there is no value at all.
I wrote a script assuming that the value field would be there for every field. In the case of "description" it is missing, but type is at the same location, so the type showed up in my output.
Attachments
Issue Links
- relates to
-
JRASERVER-23253 REST api does not have any specified behavior for returning issue fields that are empty
- Closed