When i try to read out the SLA remaining time, the output is not the excepted.
The Api returns this SLA value for an issue:
2020-05-25 12:11:41,628 WARN [runner.ScriptBindingsManager]: SLAValue{completeSLAData=[], timeline=Timeline{events=[TimelineEvent{date=2020-04-21T08:06:23.189Z, types=[START]}]}, ongoingSLAData=OngoingSLAData{goalId=538, startTime=2020-04-21T08:06:23.189Z, paused=false, thresholdData=some(ThresholdData{calculatedAt=2020-04-28T08:06:23.199Z, remainingTime=some(-10), thresholdsConfigChangeDate=2020-04-23T13:34:03.401Z, thresholdsConfigChangeMsEpoch=1587648843401})}, metricId=126, definitionChangeDate=2020-04-23T13:34:03.420Z, definitionChangeMsEpoch=1587648843420, goalsChangeDate=1970-01-01T00:00:00.000Z, goalsChangeMsEpoch=0, goalTimeUpdatedDate=2020-04-23T13:34:03.411Z, goalTimeUpdatedMsEpoch=1587648843411, metricCreatedDate=1587648843401, updatedDate=some(1588061183199)}
It says remainingTime=some(-10) but this isn't true.
But when you open the detailed Issue View it does show the correct SLA value (-3w 5d).
Thanks in advance!