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

XMLWordPrintable

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

      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

        1. image-2023-01-31-17-45-54-455.png
          187 kB
          Aniket Ranjan
        2. image-2023-01-31-17-47-36-488.png
          64 kB
          Aniket Ranjan
        3. image-2023-01-31-17-48-11-335.png
          254 kB
          Aniket Ranjan
        4. image-2023-01-31-17-52-15-587.png
          241 kB
          Aniket Ranjan
        5. image-2023-01-31-17-52-54-515.png
          64 kB
          Aniket Ranjan
        6. Remove_InactiveUser_MultiPicker_UserCustomField.json
          2 kB
          Naveen Ravi
        7. Screenshot 2025-05-13 at 6.26.13 PM.png
          209 kB
          Naveen Ravi
        8. Screenshot 2025-05-13 at 6.31.30 PM.png
          287 kB
          Naveen Ravi
        9. Screenshot 2025-05-13 at 6.34.46 PM.png
          332 kB
          Naveen Ravi
        10. Screenshot 2025-05-13 at 6.36.56 PM.png
          353 kB
          Naveen Ravi

              nwroblewska Natalia Wroblewska
              3814e4a56ec7 Aniket Ranjan
              Votes:
              8 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated: