Intermittent "Something went wrong" error when approving Jira Service Management requests via Microsoft Teams due to stale approval cards

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Component/s: Channel - Chat
    • None
    • 4
    • Minor
    • 85

      Issue Summary

      When multiple approval steps or status transitions occur in rapid succession on a Jira Service Management request, Microsoft Teams may display a duplicate or stale approval card.

      Approval-requested events and approval-completed/status-change events are handled across separate asynchronous processing queues. When events occur in close succession, they may be processed out of order, leading the Microsoft Teams integration to render or maintain a stale approval card for an approval ID that is no longer active.

      Interacting with or attempting to approve from the outdated card fails because the approval ID has already completed or expired, resulting in a generic error message: "Something went wrong".

      Steps to Reproduce

      1. Configure Jira Service Management notifications/approvals integration with Microsoft Teams.
      2. Trigger an approval flow on a request where an approval is requested and completed rapidly, followed immediately by another approval request or a transition to the next workflow status.
      3. (Intermittent) Observe the approval notifications delivered in Microsoft Teams.
      4. Click Approve (or interact with the card) on the stale/first approval card in Microsoft Teams.

      Expected Results

      The Microsoft Teams approval card updates to reflect the current state of the request, or provides clear contextual feedback (e.g., "Approval is no longer pending").

      Interactions on outdated cards fail gracefully with an informative status message.

      Actual Results

      Microsoft Teams displays a duplicate or stale approval card. When attempting to approve via the stale card, the backend rejects the invalid/completed approval ID and Microsoft Teams displays:

      "Something went wrong"

      Workaround

      • Approve or decline the request directly within the Jira Service Management Customer Portal or agent issue view.
      • Ensure users interact only with the latest notification card received in Microsoft Teams for the request.

              Assignee:
              Kotikala Raghav
              Reporter:
              Joao Vasconcelos
              Votes:
              17 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: