Duplicate comments created via JSM Chat (Atlassian Assist/Slack) due to retry on post-processing failure

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: Channel - Chat
    • None
    • 1
    • Minor
    • 1

      Issue Summary

      When users reply to JSM tickets via Slack through Atlassian Assist (JSM Chat), duplicate comments are created on the same issue. The duplicates appear 12-17 seconds apart with identical content from the same author*. When a network delay occurs,* both comments will eventually be successful.

      This appears to be the same class of bug as https://jira.atlassian.com/browse/JSDCLOUD-13663 (NOTE: this was fixed for the email path only), where a failure in post-processing (e.g., request participant addition) after a comment is successfully created causes the entire operation to be retried, resulting in a duplicate comment.

      Steps to Reproduce

      1. Set up a JSM project with Atlassian Assist connected to a Slack channel
      2. Create a ticket via the Slack channel
      3. Reply to the ticket via Slack
      4. Under certain conditions (i.e. when request participant addition encounters a transient failure), the comment is duplicated

      Intermittent - not reproducible on demand, but consistent pattern when it occurs.

      Expected Results

      One comment is created per user reply in Slack.

      Actual Results

      Two identical comments are created, 12-17 seconds apart, with the same author and content.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Earl McCutcheon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: