Problem Statement
This article helps you to deal with the remote error (mentioned below) 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
Check for the below cases to identify and resolve the issue:
- Group names are case sensitive. If the group names from the CSV file do not match with the group names in the Jira instance, you may see this error. Check if the group names are exactly matching.
Example:
--action addUserToGroup --autoGroup --continue --userId "automation" --group "development"
- As we can see the above useId is case sensitive.
If the userId is different from the above example while executing the command, you will be seeing the below 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 as per the configurations in the Jira environment.