Uploaded image for project: 'Opsgenie'
  1. Opsgenie
  2. OPSGENIE-2143

Execute Command option does not work on Microsoft Teams integration

      Issue Summary

      If we add more than one Microsoft TeamsV2 integration under one Opsgenie Team and enable the Execute command option, connect it to a channel under a Team in Microsoft the Commands are not executed.

      Steps to Reproduce

      1. Create a Team in Opsgenie
      2. Add an MS Teamsv2 integration(enable execute commands) and connect it to a channel under a Team in MS.
      3. Create an alert in Opsgenie and try to execute commands on these alerts from the Teams Channel.
      4. Add another MS Teamsv2 integration(enable execute commands) and connect it to another channel under a Team in MS.
      5. Create an alert in Opsgenie and try to execute commands on these alerts from the Teams Channel.
      6. We see that the commands are sent but no actions are taken on the alert.

      Opsgenie Side

      • OG_team_A
        • OG_MSintegration_A,
        • OG_MSintegration_B,

      Microsoft Teams Side

      • MsTeams_team_X
        • channel_A
          setup command for OG_integration_A
        • channel_B
          setup command for OG_integration_B (setup successful but commands are not executed)

      Expected Results

      Actions are taken on the Alert.

      Actual Results

      Actions are not taken on the alert.

      Workaround

      Use the following setup:

      Opsgenie Side

      • OG_team_A
        • OG_MSintegration_A,
        • OG_MSintegration_B,

      Microsoft Teams Side

        • MsTeams_team_X
          • channel_A
            • setup command for OG_integration_A
        • MsTeams_team_Y
          • channel_B
            • setup command for OG_integration_B

            [OPSGENIE-2143] Execute Command option does not work on Microsoft Teams integration

            Arjun Ganapathy made changes -
            Description Original: h3. Issue Summary
            If we add more than one Microsoft TeamsV2 integration under one Opsgenie Team and enable the *Execute command* option, connect it to a channel under a Team in Microsoft the Commands are not executed.

            h3. Steps to Reproduce
            # Create a Team in Opsgenie
            # Add an MS Teamsv2 integration(enable execute commands) and connect it to a channel under a Team in MS.
            # Create an alert in Opsgenie and try to execute commands on these alerts from the Teams Channel.
            # Add another MS Teamsv2 integration(enable execute commands) and connect it to another channel under a Team in MS.
            # Create an alert in Opsgenie and try to execute commands on these alerts from the Teams Channel.
            # We see that the commands are sent but no actions are taken on the alert.

            *Opsgenie Side*
            * OG_team_A
            ** OG_MSintegration_A,
            ** OG_MSintegration_B,

            *Microsoft Teams Side*
            * MsTeams_team_X
            ** channel_A
            setup command for OG_integration_A
            ** channel_B
            setup command for OG_integration_B (setup successful but commands are not executed)


            h3. Expected Results
            Actions are taken on the Alert.
            h3. Actual Results
            Actions are not taken on the alert.

            h3. Workaround

            Use the following setup:

            *Opsgenie Side*
            * OG_team_A
            ** OG_integration_A,
            * OG_team_B
            ** OG_integration_B,

            *Microsoft Teams Side*
            * MsTeams_team_X
            ** channel_A
            setup command for OG_integration_A
            ** channel_B
            setup command for OG_integration_B

            *OR*

            *Opsgenie Side*
            * OG_team_A
            ** OG_MSintegration_A,
            ** OG_MSintegration_B,

            *Microsoft Teams Side*
             ** MsTeams_team_X
             *** channel_A
             **** setup command for OG_integration_A
             ** MsTeams_team_Y
             *** channel_B
             **** setup command for OG_integration_B
            New: h3. Issue Summary
            If we add more than one Microsoft TeamsV2 integration under one Opsgenie Team and enable the *Execute command* option, connect it to a channel under a Team in Microsoft the Commands are not executed.

            h3. Steps to Reproduce
            # Create a Team in Opsgenie
            # Add an MS Teamsv2 integration(enable execute commands) and connect it to a channel under a Team in MS.
            # Create an alert in Opsgenie and try to execute commands on these alerts from the Teams Channel.
            # Add another MS Teamsv2 integration(enable execute commands) and connect it to another channel under a Team in MS.
            # Create an alert in Opsgenie and try to execute commands on these alerts from the Teams Channel.
            # We see that the commands are sent but no actions are taken on the alert.

            *Opsgenie Side*
            * OG_team_A
            ** OG_MSintegration_A,
            ** OG_MSintegration_B,

            *Microsoft Teams Side*
            * MsTeams_team_X
            ** channel_A
            setup command for OG_integration_A
            ** channel_B
            setup command for OG_integration_B (setup successful but commands are not executed)


            h3. Expected Results
            Actions are taken on the Alert.
            h3. Actual Results
            Actions are not taken on the alert.

            h3. Workaround

            Use the following setup:

            *Opsgenie Side*
            * OG_team_A
            ** OG_MSintegration_A,
            ** OG_MSintegration_B,

            *Microsoft Teams Side*
             ** MsTeams_team_X
             *** channel_A
             **** setup command for OG_integration_A
             ** MsTeams_team_Y
             *** channel_B
             **** setup command for OG_integration_B
            Zekihan Azman made changes -
            Status Original: Gathering Impact [ 12072 ] New: Long Term Backlog [ 12073 ]
            Zekihan Azman made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Arjun Ganapathy created issue -

              Unassigned Unassigned
              422f530d75ad Arjun Ganapathy
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: