Update the Branches of a Working-Set
In Codebeamer release 2.0 (HUSKY), a new endpoint has been introduced for updating either all the branches of a working set, or only the branches created from a selected list of trackers:
POST /v3/workingset/{id}/permission
Request body format:
{
"trackers": [],
"permissions": [],
"roles": []
}
Example:
"trackers": [
{
"id": 7659,
"name": "Bugs",
"type": "TrackerReference"
},
{
"id": 3458,
"name": "Tasks",
"type": "TrackerReference"
}
],
"roles": [
{
"id": 14,
"name": "Project Admin",
"type": "RoleReference"
},
{
"id": 11,
"name": "Developer",
"type": "RoleReference"
}
],
"permissions": [
{
"id": 1,
"name": "Item - View if Owner",
"type": "TrackerPermissionReference"
},
{
"id": 2,
"name": "Item - Edit if Owner",
"type": "TrackerPermissionReference"
}
]
}