The automation rule should fail when the deactivated users are added to the approvers' list

XMLWordPrintable

      Issue Summary

      The automation rule should fail when the deactivated users are added to the approvers' list. Currently, the automation is adding the deactivated user to the approver list.

      Steps to Reproduce

      1) Create an automation rule with the following conditions
      2) When >>select the "Issue Created" action
      3) Then >> " Edit Issue Fields" >> on the right side pane, select "More Options"
      4) Add the User ID of the deactivated user in the below JSON format:
      {
        "update": {
          "Approvers": [
           

      {         "add":

      { "accountId": "<Deactivated user's ID>"}

            }
          ]
        }
      }

      5) Save and Enable the rule.
      6) Create an issue to trigger the automation rule to pick the deactivated users added under the approvers' field.

      Expected Results

      When the deactivated user is added to the approvers' list and runs the Automation (as mentioned in the above steps), the automation has to check and validate the User ID under the approvers' field and throw an error that the following User ID has been deactivated and should fail the automation for the deactivated user.

      Actual Results

      After executing the above steps, the automation rule picks the User ID of the deactivated user under the approver field and doesn't throw any error. This means that the deactivated username is still displayed on the approvers' field after creating the issue.

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available.

        1. image-2023-11-09-15-53-41-045.png
          279 kB
          Ravi Sampath Rao

              Assignee:
              Unassigned
              Reporter:
              Ravi Sampath Rao (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h