Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.16.1, 4.0.0
-
7
-
Severity 3 - Minor
-
1
-
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
- Configure Service Desk automation rule to get triggered by "Comment added" step
- Set up Jira Core handler as an incoming mail channel that licensed Jira users will use in role of "collaborator"
- Collaborator sends an email that contains attachments (or image in signature) to Jira Core handler address
- 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
- relates to
-
JSDSERVER-5735 Automation Rules in JIRA Service Desk will not execute when triggered by comments added by JIRA Incoming Mail handler and when the rules are configured to run “Run as the user who triggered the rule”
- Gathering Impact
- mentioned in
-
Page Loading...