-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
According to docs owner in check-in payload may be passed by id or by name in form of team:a-sentry-team
However parser raises ValidationError when team is not numeric.
sentry/src/sentry/types/actor.py
Lines 197 to 198 in ee112fc
if id.startswith("team:"): | |
return cls(id=int(id[5:]), actor_type=ActorType.TEAM) |
To reproduce simply send a check-in with "owner": "team:a-sentry-team"
field
Expected Result
Autolookup id by team name
Actual Result
ValidationError
["Could not parse actor. Format should be type:id
where type is team
or user
."]
Product Area
Crons
Link
No response
DSN
No response
Version
No response
Metadata
Metadata
Assignees
Type
Projects
Status
No status