Add ability to customize how Sentry creates the task in Jira
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 624
Description
### Problem Statement
Sentry allows automatically create a Jira issue in the alert and customize Jira issue settings. Unfortunately, now it's not possible to set fields dynamically and set Sentry error's attributes to the Jira task. For example, our team wants to see the `[Sentry]` prefix in the title if the task is automatically created by Sentry. Or set the error details and link to the error to the custom field.
### Solution Brainstorm
It would be great to introduce the dynamic Sentry error's variables to allow dynamically set values in the Jira integration. Example:
### Sentry error
**Title:** ActionView::Template::Error
**Description:** undefined method \`name' for nil:NilClass (ActionView::Template::Error)
**Link:** [https://example.sentry.io/issues/123/]()
### Jira task settings
**Title:** \[Sentry\] ${sentry.title}
**Custom field:** ${sentry.description}
**Description:** Please follow this link to see the error details: ${sentry.link}
### Jira task result
**Title:** \[Sentry\] ActionView::Template::Error
**Custom field:** undefined method \`name' for nil:NilClass (ActionView::Template::Error)
**Description:** Please follow this link to see the error details: [https://example.sentry.io/issues/123/]()
### Product Area
Alerts
We want to define a set of [lightweight metrics]() that SDKs can automatically collect for e.g. framework, language or platform, focusing only on signals that **do NOT overlap with Tracing**. Ideally these metrics should give a quick sense of app or runtime health, … while deeper investigation will still rely on traces or profiles.
Examples**:**
* Node.js runtime metrics (e.g., event loop delay, heap usage)
* Prisma-related metrics in Next.js
* Mobile CPU / memory usage to help surface potential ANRs or app hangs
---
**Candidate Metrics (add more below)**
* …
*(please also add ideas, questions or examples in comments)*
Contributor guide
Assessment
This issue has not been assessed yet.