Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.8.2
-
20
-
Severity 3 - Minor
-
2
-
Description
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”
Steps to Reproduce
1) Deploy JIRA Service Desk + JIRA Software test instance
2) Create a test Service Desk Project
3) Configure JIRA Incoming mail handler (Jira->System->Incoming Mail) and point it to the Project created at Step1 above
4) In the test JIRA Service Desk Project create a very simple Automation Rule: Transition issue on Comment (In my case the rule is "Issue is Commented" -> Comment is internal -> Transition issue. Ensure the rule is configured to "Run as the user who triggered the rule"
5) Assign the required permissions for Customers to be able to comment on tickets - most importantly "Add comments" permissions to the Reporter
6) Create a customer in Service Desk; Login with that Customer via the Service Desk Portal and log a new issue;
7) Send an email from that customer to that issue. Verify that the comment gets added to the issue;
8) Check Automation Rules Log – there's nothing in the log to indicate that there was any attempt to even run the rule
Expected Results
Automation rules should execute
Actual Results
Automation rules will not execute
Workaround
Option 1: Configure the rules to run as "Run as project default (JIRA Admin)"
Option 2: Use JIRA Service Desk Email Channel
Attachments
Issue Links
- is related to
-
JSDSERVER-2383 NullPointerException when retrieving automation rule prevents automation rules from running
- Closed
-
JSDSERVER-6376 Service Desk Automation rule doesn't get triggered when certain emails containing attachments are received via Jira Core handler
- Gathering Impact