getSlaInformation (Power Scripts)
getSlaInformation (Power Scripts)
Description
Gets SLA information for the specified issue.
Parameters
Return Type
Returns a list of JSlaInformation.
Example
JSlaInformation[] slaInfos = getSlaInformation("JSD-10");
for(JSlaInformation slaInfo in slaInfos) {
runnerLog("slaInfoName = " + slaInfo.name);
JSlaOngoingCycle slaOC = slaInfo.ongoingCycle;
runnerLog("---ongoingCycle---");
runnerLog("startTime = " + slaOC.startTime);
runnerLog("breachTime = " + slaOC.breachTime);
runnerLog("breached = " + slaOC.breached);
runnerLog("paused = " + slaOC.paused);
runnerLog("withinCalendarHours = " + slaOC.withinCalendarHours);
runnerLog("goalDuration = " + slaOC.goalDuration);
runnerLog("elapsedTime = " + slaOC.elapsedTime);
runnerLog("remainingTime = " + slaOC.remainingTime);
int indexCC = 1;
for(JSlaCompletedCycle slaCC in slaInfo.completedCycles) {
runnerLog("---completedCycle " + indexCC + "---");
runnerLog("startTime = " + slaCC.startTime);
runnerLog("stopTime = " + slaCC.stopTime);
runnerLog("breached = " + slaCC.breached);
runnerLog("goalDuration = " + slaCC.goalDuration);
runnerLog("elapsedTime = " + slaCC.elapsedTime);
runnerLog("remainingTime = " + slaCC.remainingTime);
indexCC = indexCC + 1;
}
runnerLog("_________________________________________________");
}
See also
, multiple selections available,
Related content
getSlaInformation
getSlaInformation
More like this
getSlaInformation
getSlaInformation
More like this
getSlaInformation
getSlaInformation
More like this
getOldProjectFromEvent
getOldProjectFromEvent
More like this
How to get SLA data for a specific Jira issue using REST API
How to get SLA data for a specific Jira issue using REST API
More like this
SIL™ Runner Gadget
SIL™ Runner Gadget
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.