Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem Statement

...

Problem statement

This article helps you

...

fix the remote error (mentioned

...

in the next section) while adding a user to a group.

Error

...

message 

Code Block
themeMidnight
Remote error: You cannot add users to groups which are not visible to you.

...

ApplicationJira
App Jira Command Line Interface (JCLI)

Solution

Check Look for the below cases scenarios mentioned in this section to identify and resolve the issue:error.

  • Group names are case sensitive. If the group names from the CSV file do not match

...

  • the group names in the Jira instance, you may see this error. Check if the group names are

...

  • matching.
    Example:

    Code Block
    themeMidnight
    --action addUserToGroup --autoGroup --

...

  • continue --

...

  • userId "automation"

...

  •  --

...

  • group "development"
  • We can see in the above
  • In this example, the userId is

  • given as
  • case sensitive.

  •  
  • If the userId is different from the one that already exists, you will be seeing see the below following remote error:

    Code Block
    themeMidnight
    --action addUserToGroup --autoGroup --continue --userId "Automation" --group "development"
    Remote error: You cannot add users to groups which are not visible to you.


Make sure the provided information in the command is the sane as

...

the userId and group name in the Jira environment.