Versions Compared

Key

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

Problem statement

...

Look for the scenarios mentioned in this section to identify and resolve the error.  Make sure the provided information in the command is the same as the userId and group name in the Jira environment.

  • Group names are case sensitive. If the group name supplied does not match a group name in the Jira instance, you may see this error. Check if the group name matches.
    Example:

    Code Block
    themeMidnight
    --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:

    Code Block
    themeMidnight
    --action addUserToGroup --autoGroup --continue --userId "Automation" --group "development"
    Remote error: You cannot add users to groups which are not visible to you.


...

  • Find users using a fragment of their name, email, etc or a regular expression (regex) (in this example we search for the automation user with or without the first letter capitalized):

    Code Block
    themeMidnight
    --action getUserList --name "@all" --regex "[aA]utomation"


  • Find groups using a fragment of the group name "dev" via a regular expression (regex):

    Code Block
    themeMidnight
    --action getGroupList --regex ".*dev.*"