Configure alert for environment

Hello, i have a sentry 9.1.2 self-hosted, and i should configure the alert rules. The rule that i need should be “when environment == production then send email”, but there is a little problem :slight_smile: A project before it is released in production environment will pass development, test, and staging environment. So i can’t configure the rule and the whole team will receive useless alert for the other environments. Is there any way to create the environment when the project is created ? (i checked the API without success)

My idea at the moment is to send a fake message with node SDK for each environment that i need …

Thanks is advance, bye bye

1 Like