Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This routine is available starting with Power Scripts™ 4.6.0.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getSlaInformation(issueKey)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Gets SLA information for the specified issue.

Gets SLA information for the specified issue.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

issue

String

Yes

The key of the selected issue.

Return

...

Type

JSlaInformation []

Returns Returns a list of JSlaInformation.

Example

Code Block
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("_________________________________________________");
}

...

Filter by label (Content by label)
showLabelsfalse
max15025
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsjira_group_routine jira_user_routinearray_routines