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
    • 1

      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

            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            Julien Rey made changes -
            Summary Original: Automation rule fails if the user is deactivated after the automation has already been created New: 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
            Julien Rey made changes -
            Description Original: h3. Issue Summary

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

            {*}This is reproducible on Data Center{*}: Yes
            h3. 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 !image-2023-01-31-17-45-54-455.png|width=719,height=288!
             * If you create any request from the customer portal then it works fine as below
            !image-2023-01-31-17-48-11-335.png|width=493,height=197!
             * Now, deactivate any user which is added to the custom field

            h3. Expected Results

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

            - Automation rule fails and multi-user picker is not added to the issue created
            !image-2023-01-31-17-52-15-587.png|width=552,height=204!
            - Error in Audit log
            {code}

            {code}
            !image-2023-01-31-17-52-54-515.png|width=592,height=92!

            h3. Workaround

            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

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

            {*}This is reproducible on Data Center{*}: Yes
            h3. 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 !image-2023-01-31-17-45-54-455.png|width=719,height=288!
             * If you create any request from the customer portal then it works fine as below
            !image-2023-01-31-17-48-11-335.png|width=493,height=197!
             * Now, deactivate any user which is added to the custom field

            h3. Expected Results

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

            - Automation rule fails and multi-user picker is not added to the issue created
            !image-2023-01-31-17-52-15-587.png|width=552,height=204!
            - Error in Audit log
            {code}
            User '<SOME_USERNAME>' is not valid for this user picker. (customfield_XXXXX)
            {code}
            !image-2023-01-31-17-52-54-515.png|width=592,height=92!

            h3. Workaround

            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            Julien Rey made changes -
            Description Original: h3. Issue Summary

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

            {*}This is reproducible on Data Center{*}: Yes
            h3. 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 !image-2023-01-31-17-45-54-455.png|width=719,height=288!
             * If you create any request from the customer portal then it works fine as below
            !image-2023-01-31-17-48-11-335.png|width=493,height=197!
             * Now, deactivate any user which is added to the custom field

            h3. Expected Results

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

            Automation rule fails and multi-user picker is not added to the issue created

            !image-2023-01-31-17-52-15-587.png|width=552,height=204!

            Error in Audit log

            !image-2023-01-31-17-52-54-515.png|width=592,height=92!
            h3. Workaround

            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. Issue Summary

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

            {*}This is reproducible on Data Center{*}: Yes
            h3. 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 !image-2023-01-31-17-45-54-455.png|width=719,height=288!
             * If you create any request from the customer portal then it works fine as below
            !image-2023-01-31-17-48-11-335.png|width=493,height=197!
             * Now, deactivate any user which is added to the custom field

            h3. Expected Results

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

            - Automation rule fails and multi-user picker is not added to the issue created
            !image-2023-01-31-17-52-15-587.png|width=552,height=204!
            - Error in Audit log
            {code}

            {code}
            !image-2023-01-31-17-52-54-515.png|width=592,height=92!

            h3. Workaround

            Currently, there is no known workaround for this behavior. A workaround will be added here when available
            Marc Dacanay made changes -
            Labels Original: iq-a4j New: iq-a4j ril
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 956556 ]
            Michelle Chin made changes -
            UIS New: 0
            Rudy Slaiby made changes -
            Labels New: iq-a4j

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

                Created:
                Updated: