Problem Statement
This article helps you to deal with the below remote error while adding a user to a group
Error Message
Remote error: You cannot add users to groups which are not visible to you.
Log Entries
Run: --action addUserToGroup --autoGroup --continue --userId "automation" --group "development" 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:
- Make sure that the CLI user has the necessary permissions to access user management in your JIRA?
- Group names are case sensitive and if the names in CSV file do not match the group names, you may see this error. Check if the group's names are matching?