Represents a reorder request for one or more work items.

interface ReorderOperation {
    ids?: number[];
    iterationPath?: string;
    nextId?: number;
    parentId?: number;
    previousId?: number;
}

Properties

ids?: number[]

IDs of the work items to be reordered. Must be valid WorkItem Ids.

iterationPath?: string

IterationPath for reorder operation. This is only used when we reorder from the Iteration Backlog

nextId?: number

ID of the work item that should be after the reordered items. Can use 0 to specify the end of the list.

parentId?: number

Parent ID for all of the work items involved in this operation. Can use 0 to indicate the items don't have a parent.

previousId?: number

ID of the work item that should be before the reordered items. Can use 0 to specify the beginning of the list.