Planning
reorder_checklist_item
Write grantIdempotent
Move an item of a ticket's checklist right before or after another item of the same checklist. Give before or after, not both. Returns the ticket with its checklists. Needs write access.
Inputs
ticketstringRequiredA ticket ID, such as WEB-31.
itemstringRequiredA checklist item's ID from get_ticket, or its title when only one of the ticket's checklists has it, such as Peer review.
beforestringThe ID or title of the item to go right before.
afterstringThe ID or title of the item to go right after.
tools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "reorder_checklist_item", "arguments": { "ticket": "WEB-31", "item": "Checks pass", "before": "Specs generated" } }}POST/clanker/v1/tickets:reorder-checklist-item
curl -X POST https://api.qa.clankership.net/clanker/v1/tickets:reorder-checklist-item \ -H "Authorization: Bearer $CLANKER_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "ticket": "WEB-31", "item": "Checks pass", "before": "Specs generated" }'