sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Ability To Send Github Names With Ownership Configuration API

Open sentryadam0000345 opened this issue 1 year ago • 2 comments

Problem Statement

I have noticed some discrepancies between code owners updates through the API and when using the CODEOWNERS file from Github. In Github, you can pull users using Github names and then map the Github name to a Sentry user on a separate page. However, when using your API, we are required to send only Sentry emails; Github names are not allowed.

This can be an issue because there might not be internal mapping between GitHub names and employee emails.

Even if mapping is created, there is no guarantee that the user already has an account in Sentry; otherwise, the request will fail.

Solution Brainstorm

Allow sending GitHub names using the API once the Github integration is setup successfully.

Product Area

APIs

┆Issue is synchronized with this Jira Improvement by Unito

sentryadam0000345 avatar Aug 07 '24 06:08 sentryadam0000345

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Aug 07 '24 06:08 getsantry[bot]

Routing to @getsentry/product-owners-apis for triage ⏲️

getsantry[bot] avatar Aug 08 '24 16:08 getsantry[bot]

Closing as a duplicate of https://github.com/getsentry/sentry/issues/86203 — these both are the same fundamental cause, that we only support sending emails to users mapped in Sentry

cvxluo avatar Sep 11 '25 20:09 cvxluo