Details
-
Bug
-
Resolution: Fixed
-
High
-
5.0
-
None
-
5
-
Description
GreenHopper code is littered with usage of ChangeHistory#getChangeItems() directly inside loop statements (i.e. without null check). When JIRA data is in a certain state as a result of being from a very old version of JIRA (e.g. on JAC), this call can lead to null being returned instead of an empty list.
We should safeguard against this in JIRA so that consumers of the API are not adversely affected. We should also mention this in the Javadoc.
Additionally, it would be nice if the ChangeHistory class was actually an interface.
(Discovered as part of bug GHS-5394)
Attachments
Issue Links
- is related to
-
JSWSERVER-5394 Some Rapid Boards won't load their Version Board
- Closed