Want to use an API integration and instead of having 30 individual APIs we want to use the gloabal integration option. When this is selected, how do you then identify the team to route the alert to?
Where in the API do we set it to see the team name in the payload and then route it to that team?
Welcome to the Atlassian Community!
When using the Global API integration, you can dynamically route alerts to specific teams by including the team name (or ID) in the alert payload and then using Routing Rules or Create Alert Actions to handle the logic.
In your JSON, you should have something like:
{
"message": "Disk usage warning",
"details": {
"team": "InfraTeam"
}
}
After that, create a Routing Rule:
You can also base it on other fields like tags, source, or description if preferred.
Please remember to vote and accept this answer in case it helps you resolve your question.
Regards,
Eugenio
Thank you, going to try this out and will update everyone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.