Documentation
Sign inGet started

bird support-tickets get

Usage

कोड उदाहरण
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

कोड उदाहरण
bird support-tickets get <id>

Options

NameDescription
--watchWait for a support agent to reply, then print the result and exit
--watch-timeoutHow long --watch waits before giving up (capped at 30m) (default 5m0s)
NameDescription
bird support-tickets createOpen a support ticket with Bird.
bird support-tickets listList support tickets
bird support-tickets replyReply to an existing support ticket.
bird support-tickets viewedRecord that the authenticated user viewed a support ticket