Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-589

Automation rule fails with the error "User is not valid for this user picker" if the user is deactivated after the automation has already been created

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 8.1.2
    • Configuration, Fields
    • Severity 3 - Minor
    • 0

      Issue Summary

      Automation rule fails if the user is deactivated after the automation has already been created.

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      • Create a multi-user picker custom field and associate it with project
      • Go to Project settings -> Project Automation
      • Create an automation rule for the trigger "Issue created"
      • Add any condition, let's say Customer Request type is Get IT Help
      • Set action on "Edit issue fields" and add users to the multi-user picker custom field as below
      • If you create any request from the customer portal then it works fine as below
      • Now, deactivate any user which is added to the custom field

      Expected Results

      Automation rule should add the active users and exclude the inactive user.

      Actual Results

      • Automation rule fails and multi-user picker is not added to the issue created
      • Error in Audit log
        User '<SOME_USERNAME>' is not valid for this user picker. (customfield_XXXXX)
        

      Workaround

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

            [JIRAAUTOSERVER-589] Automation rule fails with the error "User is not valid for this user picker" if the user is deactivated after the automation has already been created

            Can we bump up the priority 

            Tara Pathirana added a comment - Can we bump up the priority 

            Hello,

            as it's impacting Data Center as well, can the priority be raised?

            nader.akhres@technicolor.com added a comment - Hello, as it's impacting Data Center as well, can the priority be raised?

            NGATDev added a comment -

            Hello,

            this is a big flaw and it makes the solution not reliable.

            Please correct

            NGATDev added a comment - Hello, this is a big flaw and it makes the solution not reliable. Please correct

              nwroblewska Natalia Wroblewska
              3814e4a56ec7 Aniket Ranjan
              Affected customers:
              6 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated: