Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-5245

Automation do not run if default user set to other than System Administrator

    XMLWordPrintable

Details

    Description

      Summary

      Service Desk enables administrator of a project to change the default user to run an automation rule.
      If the default user for project's automation is changed, the automation will not work and on the automation page it still shows as System Administrator

      Environment

      • JIRA version 7.0.0-OD-08
      • JIRA Service Desk version 3.1.0-OD-03

      Steps to Reproduce

      1. Set the user that automation rules will run as (other user than System Administrator)
      2. Create an automation to Be aware of urgent issues
      3. Rules :
        • When Issue created
        • Issue matches priority in (Blocker,Critical)
        • Alert User (any_user)
      4. Run as project default (any_user)
      5. Create a blocker/critical issue through customer portal

      Expected Results

      User mentioned is alerted through notifications

      Actual Results

      1. User mentioned is not alerted through notifications
      2. Run as project default (any user) instead of Run as project default (System Administrator)

      Notes

      (Optional - If Necessary)

      Workaround

      Run query

      select ao."ID" ,ao."USER_KEY", p.pkey, p.pname from "AO_9B2E3B_PROJECT_USER_CONTEXT" ao, project p where ao."PROJECT_ID" = p.id;

      For example :

      ID |  USER_KEY   |  pkey  |             pname
      ----+-------------+--------+-------------------------------
       10 | test | ABC1   | ServiceDesk ABC1
       11 | test | ABC2 | ServiceDesk ABC2
       13 | sysadmin    | ABC3   | ServiceDesk ABC3
       12 | sysadmin    | ABC4  | ServiceDesk ABC4
      (4 rows)
      

      Update the USER_KEY of the project automation which is not working to sysadmin

      Attachments

        Issue Links

          Activity

            People

              mwinsen Marty
              nmohdkhalid Nabil
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: