Versions Compared

Key

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

This article explains a simple and efficient way to delete multiple groups at once using a CSV file. By following
Follow the instructions provided in this article , you will be able to delete groups in a matter of minutes, saving you time and effort.

Instructions:

  1. Construct a CSV file with the column name group and add the required group values you want to remove. In the example, we want to remove the groups:

    Code Block
    group
    demo
    support
    IT
  2. Name the file groups.csv. It is suggested to use groups.csv file for simplification.

  3. Run the action using the newly created CSV file:

    Code Block
    languagenone
    --action runFromCsv --file groups.csv --common "--action removeGroup" --continue

Please

Note
that this action can be irreversible, so make sure to double-check the groups you want to remove before running the command. Also, please make sure

Note that removing a group in Jira is an irreversible action.

Removing a group in Jira causes the members of that group to lose access to settings and resources that were specific to that group such as:

  • Projects

  • Issues

  • Permissions

  • Notifications

This can significantly affect the workflow and productivity of team members, as well as the communication and the work of team members who were not part of that group but were dependent on the permissions, notifications, or other settings specific to that group.

Before proceeding in removing a group, double check the group that you want to remove, and ensure that you understand the consequences of this action.
It is also recommended to have a backup of your data

before doing any action that can make Additionally, depending on the size of your organization or the number of groups you need to delete, it may be more efficient to use a scripting language or a command-line tool to automate the deletion process

to avoid any data loss.

It is also important to note that the format of the CSV file, the column name, and the command used may vary depending on the system or tool you're using. Make sure to check the documentation of your system or tool for specific instructions.

To view how to back up data, check:
https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html

Panel
panelIconIdatlassian-note
panelIcon:note:
bgColor#DEEBFF

If a default group is removed, the new default group is set to jira-users.
Users from the deleted group are then added to the jira-users group and lose access to the specific permissions and schemes that the default group had.