Deleting a Tracker Item
DELETE /v3/items/{itemId} will delete a tracker item and return HTTP 200 in case of success.
Deleting Tracker Items Associations
The default procedure implies the combined usage of 2 endpoints:
• GET /v3/items/{itemId}/relations.
• DELETE /v3/associations/{associationId}/.
1. Gather the Item ID having the association, let's say http://localhost:8080/cb/issue/5850

, therefore
5850.
2. Use that ID to execute the GET call at /v3/items/{itemId}/relations:
3. cB should return a response similar to this:
{
"itemId": {
"id": 5850,
"version": 4
},
"downstreamReferences": [],
"upstreamReferences": [],
"incomingAssociations": [],
"outgoingAssociations": [
{
"type": "OutgoingTrackerItemAssociation",
"id": 21594,
"itemRevision": {
"id": 5872,
"version": 3
}
}
]
}
4. From the above, take the 21594 ID.
5. To remove the association, execute a DELETE call at /v3/associations/{associationId}/ by providing 21594: