Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-6376

Service Desk Automation rule doesn't get triggered when certain emails containing attachments are received via Jira Core handler

    XMLWordPrintable

Details

    Description

      Issue Summary

      Service Desk Automation rule doesn't get triggered when certain emails containing attachments are received via Jira Core handler

      Environment

      • Jira Core handler being used as channel to receive emails from Jira licensed user (who act as "collaborators" on a Service Desk project)
      • Service Desk Automation rule gets triggered on a new comment

      Steps to Reproduce

      1. Configure Service Desk automation rule to get triggered by "Comment added" step
      2. Set up Jira Core handler as an incoming mail channel that licensed Jira users will use in role of "collaborator"
      3. Collaborator sends an email that contains attachments (or image in signature) to Jira Core handler address
      4. The mail gets processed and an internal comment gets added to the ticket

      Expected Results

      The Automation rule gets triggered based on the added comment.

      Actual Results

      The Automation rule doesn't get triggered at all.

      Notes

      The issue is caused by the attachments. The explanation for this is: the way JSD/Automation handle the events won't treat an e-mail comment with attachments as just a comment added, but as an issue event (the attachment is and update on the issue) and a comment added during an update.
      In the end, the Issue Event listener will expect that the Comment Added listener would handle the event, and the Comment added listener expects that the Issue Event listener will do that. The result of this is that the rule is not getting triggered.

      Workaround

      • Avoid sending email with attachments (including the images in signature area)
      • Use Service Desk mail handler as an incoming channel for collaborator users

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mfilipan Marko Filipan
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync