Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. 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”

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 3.8.2
    • Automation

    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

          Activity

            People

              Unassigned Unassigned
              soslopov Sergey
              Votes:
              14 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:

                Backbone Issue Sync