---
title: "How to update usernames in bulk using Jira Command Line Interface"
canonical: "https://support.appfire.com/space/SUPPORT/89144098/How%20to%20update%20usernames%20in%20bulk%20using%20Jira%20Command%20Line%20Interface"
format: markdown
---
<span style="color: #333333">This article explains how to update the username of a user in bulk using the app, </span>*<span style="color: #333333">Jira Command Line Interface.</span>*

## Instructions

1. <span style="color: #333333">Use the action </span>[<span style="color: #333333">updateUser</span>](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70782827/updateUser)<span style="color: #172b4d"> </span><span style="color: #000000">with </span>[<span style="color: #000000">runFromCsv</span>](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70783505/runFromCsv)<span style="color: #000000"> to add users to a group in bulk.</span>
2. <span style="color: #333333">Prepare a CSV file (updateuser.csv</span><span style="color: #333333">) that contains</span><span style="color: #333333"> </span>*userId *and* newU**serId *columns<span style="color: #333333">. Enter the userId of the users that are to be modified under the </span>*<span style="color: #333333">userId</span>*<span style="color: #333333"> column. Under the </span>*<span style="color: #333333">newUserId</span>*<span style="color: #333333"> column enter the new user IDs that are to be added.</span>  
<span style="color: #333333">An example file is shown below: </span>  
> Macro (inline-media-image)
3. <span style="color: #333333">Run the command given below to update the usernames of the users that are provided in the .csv file (</span><span style="color: #333333">updateuser</span><span style="color: #333333">.csv </span><span style="color: #333333">in this example).</span>

The parameters used in the above action are:

- *file*: <span style="color: #000000">N</span><span style="color: #333333">ame (or path) of the file specified in the command.</span>
- *<span style="color: #000000">common</span>***<span style="color: #000000">:</span>**<span style="color: #000000"> Common parameter string added to all run actions.</span>

> ℹ️ <span style="color: #000000">It is</span><span style="color: #000000"> </span><span style="color: #000000">re</span><span style="color: #000000">commended</span><span style="color: #000000"> to test the command in a non-production environment or run the action with the </span>[*--simulate*](https://appfire.atlassian.net/wiki/spaces/BCLI/pages/65933894/--simulate)* *<span style="color: #000000">parameter to verify the behavior before deploying.</span>