Bulk Import Customers into Jira Service Management from CSV or Excel

Launching a service desk usually starts with a customer list in a spreadsheet. Here is how to turn it into real JSM customers without adding them one at a time.

Why the built-in CSV import is not enough

Jira Service Management Cloud has a CSV import for customer and organization details, but Atlassian's documentation is explicit that it only updates records that already exist: it does not add new customers or new organizations. Atlassian points you to the bulk add feature for customers, where you paste in email addresses, and to the REST API for organizations. Neither reads a spreadsheet of names, organizations, and service desks in one pass, so for a new service desk or a client company with dozens of contacts, teams end up adding people in batches by hand or writing a script against the JSM REST API.

A script has to look up each email first, create only the customers that are missing, retry when the API returns 429 Too Many Requests, and avoid creating duplicates if it stops halfway and is run again. That is a lot of care for a one-off load.

What a safe bulk customer import needs

  • One row per customer, with an Email and a Display name.
  • A dry run that says, for every row, whether it would create a customer, find an existing one, or fail, before anything is written.
  • Row-level errors for missing or invalid emails and emails that appear twice in the file, so bad rows are fixed rather than guessed.
  • Existing customers left untouched, so a re-run cannot overwrite anyone.
  • Idempotency: running the same file again should create nothing new.
  • A per-row result report you can keep as a record of the load.

Steps

  1. Put one customer per row in an .xlsx or .csv file with a header row. Add Organization(s) and Service desk(s) columns if you want the customers grouped and given access in the same run; service desks are named by project key.
  2. Open the importer from Jira settings as a Jira administrator, since creating customers needs that permission.
  3. Upload the file. Headers are matched to fields automatically, and you can override the mapping.
  4. Run the dry run. Fix any row marked as an error; a row with any error does nothing at all, so no row is half applied.
  5. Run the import, then download the per-row CSV report and spot-check a few customers in the service desk.

To group the new customers by company as well, see bulk adding customers to organizations in JSM.

Create the customers in one run

Customer & Organization Importer for Jira Service Management reads the file in your browser, shows a dry run, and creates the missing customers through the Jira REST API as you. Re-running the same file creates nothing new, and Cody Labs operates no server.

See Customer & Organization Importer for Jira Service Management