Skip to end of banner
Go to start of banner

Remote error while adding user to a group using CLI

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

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

ApplicationJira
App Jira Command Line Interface (JCLI)

Solution

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

  1. 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"
  • We can see in the above example, the userId is given as case sensitive. 
  • If the userId is different from the one that exists, 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 userId and group name in the Jira environment.

  • No labels