Search the docs

Search guides, API endpoints and MCP tools.

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

ticketstringRequired

A ticket ID, such as WEB-31.

beforestring

The ticket to go right before, such as WEB-30.

afterstring

The 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"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.