Gets sprint data from Jira Agile.
Get-Sprint [-Board] <Board> [[-State] <SprintState>] [[-PageSize] <UInt32>] [-Credential <PSCredential>] [<CommonParameters>]
Get-Sprint [-Sprint] <Sprint[]> [-Credential <PSCredential>] [<CommonParameters>]
Get-Sprint retrieves sprints either:
When called with -Board, the command supports paging and can return all matching sprints.
When imported normally, run this command as Get-JiraAgileSprint.
$board = JiraAgilePS\Get-Board -Credential $cred | Select-Object -First 1
JiraAgilePS\Get-Sprint -Board $board -Credential $cred
Lists sprints for a board.
$board = JiraAgilePS\Get-Board -Credential $cred | Select-Object -First 1
JiraAgilePS\Get-Sprint -Board $board -State Active -Credential $cred
Returns only active sprints for the selected board.
$sprint = [AtlassianPS.JiraAgilePS.Sprint]::new(42)
JiraAgilePS\Get-Sprint -Sprint $sprint -Credential $cred
Gets sprint details by sprint ID context.
JiraAgilePS\Get-Sprint -Board $board -First 20 -IncludeTotalCount -Credential $cred
Returns the first 20 sprints for a board and emits the total available count.
Sprint object(s) used when querying by sprint identity.
Type: Sprint[]
Parameter Sets: _ById
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Board object used to retrieve board sprints.
Type: Board
Parameter Sets: _All
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Optional sprint state filter (for example Active).
Type: SprintState
Parameter Sets: _All
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Maximum results requested per page when listing board sprints.
Type: UInt32
Parameter Sets: _All
Aliases:
Required: False
Position: Named
Default value: 25
Accept pipeline input: False
Accept wildcard characters: False
Credentials used for Jira authentication.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False
Causes an extra output of the total count at the beginning of paged output.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Controls how many items are skipped before output starts.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Controls how many items are returned.
Type: UInt64
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 18446744073709551615
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Board object when using the _All parameter set.
Sprint object(s) when using the _ById parameter set.
Use Get-JiraAgileSprint in normal module usage. Get-Sprint is the source function name.