Moves an existing Version in JIRA
Move-JiraVersion [-Version] <JiraPS.Version> [-After] <JiraPS.Version> [[-Credential] <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
Move-JiraVersion [-Version] <JiraPS.Version> [-Position] <String> [[-Credential] <PSCredential>] [-WhatIf] [-Confirm] [<CommonParameters>]
This function moves the Version for an existing Project in JIRA. Moving the Version modifies the order/sequence of the Version in relation to other Versions.
Move-JiraVersion -Version 10 -After 9
This example moves the Version with ID 10 after the Version with ID 9.
Move-JiraVersion -Version $myVersionObject -After $otherVersionObject
This example moves the Version object after the other Version object.
Move-JiraVersion -Version $myVersionObject -Position Earliest
This example moves the Version object to the earliest position.
Version Object or ID to move.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True
Accept wildcard characters: False
The new Position for the Version
Type: String
Parameter Sets: ByPosition
Aliases:
Accepted values: First, Last, Earlier, Later
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Version Object or ID to move Version after.
Type: Object
Parameter Sets: ByAfter
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Credentials to use to connect to JIRA.
If not specified, this function will use anonymous access.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
This function requires either the -Credential
parameter to be passed or a persistent JIRA session.
See New-JiraSession
for more details.
If neither are supplied, this function will run with anonymous access to JIRA.