ItemRollbackLifeCycleState Method
Execute an item rollback to the specified target item iteration ID in rolling back the Item's Lifecycle state from within the context of a change order.
Required Permissions
Item Rollback Lifecycle StateSyntax
public Item ItemRollbackLifeCycleState(
System.long changeOrderId,
System.long itemIterationId
)Public Function ItemRollbackLifeCycleState( _
ByVal changeOrderId As System.Long, _
ByVal itemIterationId As System.Long _
) As ItemParameters
| Name | Description |
|---|---|
| changeOrderId | ID of the associated change order |
| itemIterationId | ID of the target item iteration to roll back to |
Return Value
the new tip item
Remarks
When an item is assigned to a change order, item lifecycle state changes and rollbacks can only be executed by the change order service.
The item iteration ID of the target item should match the item returned from GetLifecycleRollbackTargetItem. Otherwise, a restriction will be returned.