Edit ticket
Changes any of a ticket’s fields, saved together, or none when one is refused: title (1 to 80 characters) and body (up to 8000) of a Triage or Ready ticket; priority, high, normal or low, which puts it last in that priority; kind, a word, or "" to take it away (Kind); labels, up to 5, at any status, the list replacing the one there (Labels); mark, “hold”, “replaced” with an optional replacedBy, or null to clear it (On hold, replaced, and design tickets); shapes, the tickets this design ticket shapes, while it is in Triage, Ready or Started; and base, another local branch to start from. Each field keeps its own error code, such as bad_title, bad_priority, bad_kind, bad_label, bad_mark, bad_shapes, bad_base or no_base. A field the ticket’s state does not allow gets 409 not_ready, or 403 for a session’s token, and a title or base another open ticket in the repo has on that branch gets 409 duplicate. For the PM and the Lead, a ticket you rejected counts too, as in filing. Only the fields that differ are written: the answer’s edited lists them, and has unchanged when none do. The PM and the Lead send only title, body and priority, and priority only while you let them set the order (The PM sets the order, The Lead sets priority); anything else gets 403. Any other session’s token gets 403. See Editing a ticket.
Tokens: the relay key, and the token of a PM, the Lead. A route a token reaches can still refuse it, as the description says.
From docs/manual/relay.html#routes.
Path Parameters
Body
Any of these, saved together, or none when one is refused. A PM or the Lead sends only title, body and priority.