You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Where is the documentation for the MSTeamsV2 Bot?
What is the Body Field order of the "Alert" cmd?
Is it really limited just to [MSG] and specify a Owner Team/Responder ?
How does one set the priority and description of the Alert generated?
Thank you for reaching out! The usage format of the MSTeamsV2 bot alert command is as you noted, although you would need to start the command with "@Opsgenie". As you type the first few characters of the @Opsgenie bot name, click it or press Enter to select the bot then continue the rest of the command (per the command usage).
So to bring up the help or command usage:
Here is an example of the create alert command:
@Opsgenie alert This is a test for WeiNOC, WeiTest
This would create an alert with the message "This is a test" with Responders WeiNOC and WeiTest. You are right, the bot can only create an alert using the message and responders fields. Unfortunately, the priority couldn't be set with the initial create alert command.
To set the alert priority, you would need to use the update priority command, for example:
@Opsgenie update priority to P2 for 40520
where 40520 is the tinyId of the alert.
Unfortunately the bot doesn't have the ability to update description field.
Here is the output of the "@Opsgenie help" command for reference:
Here is a list of commands you can use:
Hope the above helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.