Batch User Management

Name Batch User - Group - Create / Delete
Version 0.1
Product Versions 0.1
Author(s) Chris Robsahm
Homepage  
Price free
License OpenSource
JavaDocs  
IssueTracking  
Download JAR http://confluence.atlassian.com/download/attachments/167182519/jiraUserMgmt.jar
Download Source http://confluence.atlassian.com/download/attachments/167182519/jiraUserMgmtSrc.jar

Description/Features

With this utility you can do batch imports of users with a CSV file. You can create or delete users / groups. Input is a CSV file and output is a JellyScript which you can past into Jelly Runner

Installation

This is not really a plugin its a Java Application which you execute, the output is a Jelly Fish script,

Usage

There are two different modes of operation for this utility. First is stand alone mode and second is batch mode (import). In stand alone mode you create a script on a per user or per group basis, in import mode you use a CSV file to create a batch import
The order of all operations on the command line does not matter
Stand Alone Usage:

operation=createUser with this tag there are several required and optional operations.
required :

userID=<userID> this is the user which will be created in Jira

userName=<userName> this is the full name of the user to be associated with the user
eMail=<eMail> the email addres for this user
optional : groups=<group1,group2,groupx> a comma separated lists of groups to associate with this user, if they do not exist they are created

operation=DeleteUser deletes the user from Jira, providing that the user has no issues assigned to them

required : userName=<userName> the user name of the user to delete

operation=CreateGroups creates user groups
required : groups=<group1,group2,groupx> a comma separated lists of groups to create

operation=DeleteGroups deletes user groups
required: groups=<group1,group2,groupx> a comma separated lists of groups to delete, only deletes a group if it has no users in it.

Bath Mode Usage: This mode creates a script to create or delete a group of users from a CSV file.
operation=createUser with this tag you create a group of users from a CSV file.
required: importscript=<file>
optional: groups=<group1,group2,groupx> a comma separated lists of groups to associate with this user, if they do not exist they are created

operation=deleteUser with this tag you delete a group of users from a CSV file.
required: importscript=<file>
The syntax of the CSV files is:<lastName>,<firstName>,<userID>,<eMail>

Examples

Example: Stand Alone create user : operation=createUser userID=myUser userName=\"John Smith\" email=john.smith@abc.com groups=group1,group2,group3,groupx
Example: Stand Alone delete user : operation=deleteUser userID=myUser
Example: Batch create user : operation=createUser importscript=<filename> groups=group1,group2,groupx

Version History

Open Issues

Screenshots

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.