Planning
reorder_ticket
Write grantIdempotent
Move a ticket right before or after another in the one workspace-wide order that every view ordered by hand follows. Give before or after, not both. Returns the ticket. Needs write access.
Inputs
ticketstringRequiredA ticket ID, such as WEB-31.
beforestringThe ticket to go right before, such as WEB-30.
afterstringThe ticket to go right after, such as WEB-30.
tools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "reorder_ticket", "arguments": { "ticket": "WEB-31", "before": "WEB-30" } }}POST/agent/v1/tickets:reorder
curl -X POST https://api.qa.clankership.net/agent/v1/tickets:reorder \ -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "ticket": "WEB-31", "before": "WEB-30" }'