The message I get when I try to action an alert in Teams channel is:
"Couldn't run the command. Try again?"
I have a working JSM-Teams integration which sends out alerts to specific Teams Channels based on their type. Its a working solution since the past couple of years. Recently, noticed that we can't action (acknowledge/add note/close etc.) the alerts from Teams anymore. It just displays the same message for every user.
Note:
The integration seems to be still connected for both Prod and Sandbox environment.
I disconnected the integration from Chat and video tools > Microsoft Teams, and added it back again. It worked for a very short time, and stopped working again. Now I am getting a different message as in the below screenshot.
I verified that I am authenticated into both the SBX and Prod JSM sites via Atlassian ChatOps bot.
Not really sure what's happening. Any help is much appreciated.
Hi @Vipeen Sekharan ,
Adding to what @Jovânio Junior already covered, a few extra angles worth checking since this started happening "recently" and after years of it working fine:
Who originally created the integration?
In JSM-Teams ChatOps, the actions you fire from Teams are actually executed on behalf of the integration owner (the API key owner behind the scenes), not the user clicking the button. If that person left the company, was deactivated, or lost their JSM Operations permissions recently, every action in Teams will silently fail with exactly the kind of vague "Couldn't run the command" message you're seeing. Alerts keep flowing in because that direction uses a different auth. Worth confirming the owner of the integration in JSM Operations > Settings > Integrations is still active and has the right role.
Microsoft Teams "New Teams" client migration.
Microsoft has been pushing everyone to the new Teams client, and older bot behaviors don't always survive the switch cleanly, especially adaptive card actions like these. If some users in your org are on Classic Teams and others on New Teams, and both fail, that's not it, but worth ruling out.
Atlassian ChatOps bot app version in Teams.
In the Teams admin center, check whether the Atlassian bot app is on the latest version and whether app permission policies changed recently. Sometimes an org-wide policy update in Teams silently blocks bot commands even though the bot still shows as installed.
Opsgenie JSM Operations migration.
If this integration was originally set up back in the Opsgenie days and just carried over, there've been a lot of moving parts under the hood as Atlassian sunsets Opsgenie into JSM Operations. Some old ChatOps integrations need to be recreated rather than migrated. Might be worth setting up a fresh integration from scratch in a test channel and seeing if it behaves differently than the old one.
If none of the above surface anything, definitely open the ticket with Atlassian as @Jovânio Junior suggested. Include the exact timestamp of a failed action, the correlation ID if you can grab one from the bot response, and both site URLs. That helps them trace the exact ChatOps request on their backend.
Hope you find it!
Hi Vipeen - Welcome to the Atlassian Community!
From what you described, the basic JSM ↔ Teams integration still seems healthy, because the alerts are reaching Teams and JSM correctly.
The failure appears to be specifically in the interactive ChatOps actions — acknowledge, add note, close, etc.
A few details point in that direction:
notifications are still being delivered;
the same actions work directly in the JSM interface;
the problem affects both Sandbox and Production;
reconnecting the Teams integration temporarily restored the functionality;
you are already authenticated through the Atlassian ChatOps bot.
Because of that, I would not focus first on the alert configuration itself. I would investigate the authentication/session used by ChatOps to execute commands back against JSM.
I would try:
Sign out/re-authenticate the affected user through the Atlassian ChatOps bot.
Confirm the user still has the required JSM/Operations permissions to acknowledge, add notes and close alerts.
Test the same action with an org/site admin account to rule out a user-specific permission issue.
Check whether the issue occurs in a newly created Teams channel as well.
If possible, capture the exact timestamp of a failed action and open an Atlassian Support ticket.
Since reconnecting the integration only fixed it briefly and the same behavior is occurring in both Sandbox and Production, this may be a regression or backend issue rather than a local configuration problem.
I would definitely include the timestamps, both site URLs and the screenshots when raising the support ticket so Atlassian can trace the ChatOps request on their side.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response @Jovânio Junior and @Tiago Paladino
notifications are still being delivered - YES
the same actions work directly in the JSM interface - YES
the problem affects both Sandbox and Production - YES
reconnecting the Teams integration temporarily restored the functionality - YES
you are already authenticated through the Atlassian ChatOps bot - YES
Just to clarify, this is a problem for all users in the Team, not just for a small subset.
re-authenticate through Atlassian ChatOps bot - YES
users still have required JSM/Operations permissions - YES
Finally noticed that my integrations were missing missing the configuration to Teams.
Note that all the integrations (close to a dozen) were all in a turned on state, but with missing integration configuration to Teams. I am not sure why this was the case suddenly. Possible that disconnecting the integration from Chat and video tools > Microsoft Teams, fixed the actual issue, but also reset the settings of my integrations? So unfortunately I don't have a way to reproduce the problem anymore. I have recreated every integration again with proper config which seems to be working now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a great catch, and honestly a really useful data point for anyone else who hits this. The fact that all your integrations were sitting in "On" status but with the Teams tenant/team/channel fields blank explains everything you were seeing perfectly. The bot was authenticated, alerts were flowing through the notification path, but the outbound action commands had nowhere to route back to because the destination binding was gone. That's exactly the kind of state that produces the vague "Couldn't run the command" message instead of a proper error.
As for what caused it, my best guess is that it lines up with the Opsgenie to JSM Operations migration that Atlassian's been rolling out in waves. During those wave migrations there have been reports of Teams and Slack integration bindings getting reset while the integration itself stays enabled, which matches your case pretty exactly. Your disconnect and reconnect probably didn't cause it directly, it more likely just coincided with the migration wave hitting your tenant. That would also explain why both Sandbox and Prod broke at the same time.
Good move recreating all of them from scratch. That's actually the recommended fix from Atlassian for post-migration Teams issues, since editing the broken ones sometimes doesn't fully restore the binding.
One tip for going forward: it's worth exporting or documenting your integration configs somewhere (even just a Confluence page with screenshots), because with close to a dozen integrations, if this happens again during a future migration wave, having a reference speeds up the rebuild a lot.
Glad it's working again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.