Proposal
Add a similar parameter as existing AdditionalFields, for example -Relations. This parameter can be a hashtable like this:
$rel = @(
[pscustomobject]@{
Relation = "Parent"
Id = 193812
Operation = "Add"
},
[pscustomobject]@{
Relation = "Related"
Id = 123
Operation = "Add"
}
)
Update-VSTeamWorkItem -id 555 -Relations $rel
Solved Problem
This will allow to simplify the process to udpate work items with related ones
Additional info / code snippets?
There is a basic example of this in the Add-VSTeamWorkItem cmdlet using the -ParentId parameter. But this feature will allow to define additional relationships for a work item
Proposal
Add a similar parameter as existing AdditionalFields, for example -Relations. This parameter can be a hashtable like this:
Solved Problem
This will allow to simplify the process to udpate work items with related ones
Additional info / code snippets?
There is a basic example of this in the
Add-VSTeamWorkItemcmdlet using the -ParentId parameter. But this feature will allow to define additional relationships for a work item