getsentry / getsentry/sentry

Use grouping stacktrace frames when generating a Jira ticket

Open
#100,069 4 comments 0 reactions 0 assignees View on GitHub
Feature Jira Product Area: Settings - Integrations
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

When we use the Jira integration in Sentry to create tickets, the preview stacktrace it includes will use in-app frames if available. If there are no in-app frames but there _**are**_ frames used for grouping, it ignores them and simply includes the top 4-5 frames. This makes the preview unhelpful because there's no way to see context without having to go to the Sentry event and find the part of the stacktrace that is relevant.

### Solution Brainstorm

Ideally the Jira integration would cascade through different priorities for producing a preview stacktrace similar to how grouping uses different rules and levels when displaying in the portal.

1. In-app frames
2. Frames used for grouping
3. ???
4. Frames from the top

### Product Area

Issues

Contributor guide

Open the contributing guide

Research direction

Start by locating the Jira integration code that builds the preview stacktrace, then trace how in-app and grouping frames are selected. Confirm the fallback order described in the issue, and consider how the existing top-frame fallback should behave. Done means the preview uses grouping frames when no in-app frames are available, while retaining the remaining fallback behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.