I am using the TFS 2018 Rest API to create Work Items.
I can create a Work Item, but I wanted it to go to a specific column on the board.
I tried to pass the following parameter when I will create a Work Item, to configure the column:
{
"op": "add",
"path": "/fields/System.BoardColumn",
"from": null,
"value": "Waiting worker"
}
When I make a Patch request to insert a work item with the code above, I receive the following return:
{
"$id": "1",
"customProperties": {
"ReferenceName": null
},
"innerException": null,
"message": "TF401326: Invalid field status 'ReadOnly' for field 'System.BoardColumn'.",
"typeName": "Microsoft.TeamFoundation.WorkItemTracking.Server.WorkItemFieldInvalidException, Microsoft.TeamFoundation.WorkItemTracking.Server",
"typeKey": "WorkItemFieldInvalidException",
"errorCode": 600171,
"eventId": 3200
}
How can I do to include a Work Item on a specific board?