sentry issue view
View detailed information about a Sentry issue by its ID or short ID. The latest event is automatically included for full context.Usage
Issue ID Formats
Theview command accepts multiple issue identifier formats:
Multi-Project Mode
After runningsentry issue list in a monorepo, you can use the alias-suffix format shown in the ALIAS column:
Parameters
string
required
Issue identifier in any supported format (see formats above).
Flags
boolean
default:"false"
Open the issue in your default web browser instead of displaying in terminal.Alias:
-wExample:number
default:"3"
Maximum depth of span tree to display. Set to
0 or use --spans no to disable span tree display.Example:boolean
default:"false"
Output results as JSON including issue details, latest event, and span tree data.Example:
Examples
Basic Usage
Browser Integration
Span Tree Control
JSON Output
Sample Output
Human-Readable Format
JSON Format
Notes
- Organization context is required to fetch the latest event and span tree. If not provided explicitly, it’s resolved from DSN detection or project aliases.
- The span tree shows the performance trace for the latest event, helping identify slow operations.
- Use
--spans 0to disable span tree fetching for faster output when you only need issue metadata. - The
-wflag is useful for quickly jumping to the Sentry web UI for more advanced investigation.
See Also
- sentry issue list - List issues from projects
- sentry issue explain - Get AI-powered root cause analysis
- sentry issue plan - Generate a solution plan with Seer AI
- sentry event view - View event details directly