Previously the remaining time was a a single integer field:
"ongoingCycle" : { "paused" : false, "breachedDate" : 1533569571911, "goalId" : 128, "elapsedTime" : 13298933402, "remainingTime" : -13297133402, "startDate" : 1533567771911, "breached" : true }
After the upgrade it has children properties:
"ongoingCycle" : { "breached" : false, "breachTime" : { "friendly" : "In 3 days 11:33", "jira" : "2019-01-07T11:33:12.718+0000", "epochMillis" : 1546860792718, "iso8601" : "2019-01-07T11:33:12+0000" }, "goalDuration" : { "friendly" : "4h", "millis" : 14400000 }, "remainingTime" : { "friendly" : "3h 34m", "millis" : 12859396 }, "withinCalendarHours" : true, "startTime" : { "iso8601" : "2019-01-04T16:33:12+0000", "epochMillis" : 1546619592718, "jira" : "2019-01-04T16:33:12.718+0000", "friendly" : "25 minutes ago" }, "elapsedTime" : { "millis" : 1540604, "friendly" : "25m" }, "paused" : false }
So, instead of checking remainingTime, one should check remainingTime.millis.