We need to figure out "Time to first response" and below are the details about jira details and custom field value that we are getting. Can you please suggest the logic that we need to write from this custom field value to retrieve the same:-
1) JIRA# SPSDT-68 (https://dev-jira.lamresearch.com/browse/SPSDT-68\)
2) On UI it shows #
-8mon
3) Custom field value that we are getting is below:-
SLAValue{completeSLAData=[], timeline=Timeline{events=[TimelineEvent
{date=2022-02-09T08:44:36.389Z, types=[START]}
]}, ongoingSLAData=OngoingSLAData{goalId=60, startTime=2022-02-09T08:44:36.389Z, paused=false, thresholdData=some(ThresholdData
{calculatedAt=2022-02-13T08:44:36.440Z, remainingTime=some(-338400051), thresholdsConfigChangeDate=2021-03-19T13:58:30.300Z, thresholdsConfigChangeMsEpoch=1616162310301}
)}, metricId=24, definitionChangeDate=1970-01-01T00:00:00.000Z, definitionChangeMsEpoch=0, goalsChangeDate=2021-04-30T18:23:16.240Z, goalsChangeMsEpoch=1619806996239, goalTimeUpdatedDate=2021-04-30T18:23:16.200Z, goalTimeUpdatedMsEpoch=1619806996199, metricCreatedDate=1616162310301, updatedDate=some(1644741876456)}
For the other jira the custom field value we are getting is different as explained below:-
1) JIRA# SPSDT-69(https://dev-jira.lamresearch.com/browse/SPSDT-69\)
2) On UI it shows #
-1mon
3) Custom field value that we are getting is below:-
SLAValue{completeSLAData=[CompleteSLAData{calendarName=Default 24/7 calendar, succeeded=false, goalTime=7200000, goalTimeUnits=some(SLAGoalRemainingTimeUnits
{weeks=0, remainingDaysWithinWeek=0, remainingMillisWithinDay=7200000, breached=false}
), elapsedTime=4930727580, remainingTime=some(-4923527580), remainingTimeUnits=some(SLAGoalRemainingTimeUnits
{weeks=7, remainingDaysWithinWeek=6, remainingMillisWithinDay=171527580, breached=true}
), startTime=2022-02-14T16:56:35.453Z, stopTime=2022-04-12T18:35:23.033Z}], timeline=Timeline{events=[TimelineEvent
{date=2022-02-14T16:56:35.453Z, types=[START]}
, TimelineEvent
{date=2022-04-12T18:35:23.033Z, types=[STOP]}
]}, ongoingSLAData=null, metricId=24, definitionChangeDate=1970-01-01T00:00:00.000Z, definitionChangeMsEpoch=0, goalsChangeDate=null, goalsChangeMsEpoch=null, goalTimeUpdatedDate=null, goalTimeUpdatedMsEpoch=null, metricCreatedDate=1616162310301, updatedDate=some(1649788524423)}
Can you suggest a logic for retrieving "Time to first response".