Problem statement
This article helps you fix the remote error (mentioned in the next section) while adding a user to a group.
Error message
Remote error: You cannot add users to groups which are not visible to you.
Environment
Application | Jira |
---|---|
App | Jira Command Line Interface (JCLI) |
Solution
Look for the scenarios mentioned in this section to identify and resolve the 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:--action addUserToGroup --autoGroup --continue --userId "automation" --group "development"
In this example, the userId is case sensitive.
If the userId is different from the one that already exists, you see the following remote error:
--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.