Versions Compared

Key

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

Problem Statement

Info
This article helps you in 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.


Log Entries 

Code Block
themeMidnight
Run: --action runFromCsvaddUserToGroup --commonautoGroup "--action addUserToGroupcontinue --fileuserId "C:\newpenn_testusers.csvautomation" --autoGroupgroup "development"

Remote error: You cannot add users to groups which are not visible to you.”


Environment

ApplicationJira
App Jira Command Line Interface (JCLI)

Solution

Check for the below cases to identify and resolve the issue:

  1. Make sure that the CLI user has the necessary permissions to access user management in your JIRA?
  2. 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?

    Example: