bird support-tickets get
Usage
Przykład kodu
bird support-tickets get <ticket-id> [flags]Description
Read a support ticket and its full message history.
The reply arrives asynchronously and may be automated or from a person; either
can answer your question, so read it back and judge rather than waiting only for
a human. An ai reply usually lands within a minute, a human support reply can
take longer. Pass --watch to block until a reply lands (a new agent message
appears, or the ticket leaves OPEN), then print the result and exit. Where your
environment can run a command in the background, run the watch as a background
task (using whatever mechanism your harness provides) so you can keep working
and pick the reply up when it arrives:
bird support-tickets get <id> --watch
--watch always exits 0 on a clean watch. On timeout it prints
{"answered": false, "timed_out": true, ...} and on a reply
{"answered": true, ...}. Branch on the "answered" field, not the exit code.
Tune the wait with --watch-timeout (default 5m, capped at 30m).
Procedure
Step 1 of 2 of "Read a support ticket and wait for a reply". Next: bird support-tickets viewed.
Examples
Przykład kodu
bird support-tickets get <id>Options
| Name | Description |
|---|---|
| --watch | Wait for a support agent to reply, then print the result and exit |
| --watch-timeout | How long --watch waits before giving up (capped at 30m) (default 5m0s) |
Related
| Name | Description |
|---|---|
| bird support-tickets create | Open a support ticket with Bird. |
| bird support-tickets list | List support tickets |
| bird support-tickets reply | Reply to an existing support ticket. |
| bird support-tickets viewed | Record that the authenticated user viewed a support ticket |