The problem with doing it by hand
In Jira Service Management, an organization groups customers from the same company so they can see each other's requests. Adding members means opening the organization and adding customers one at a time, and the organization has to exist first. Atlassian's own CSV import only updates customers and organizations that already exist, so it cannot create a new organization or a new customer to put in it.
Organization names are also not unique in JSM. A script that matches by name can add people to the wrong organization when two share a name.
Describe membership in the spreadsheet
- Email and Display name: one customer per row.
- Organization(s): one or more organization names, separated by semicolons. Organizations that do not exist yet are created.
- Optional Service desk(s): project keys of the service desks the customer and their organizations should be added to.
An organization name that matches more than one existing organization is reported as an error, not guessed.
Steps
- Start from your current setup if you have one: export the existing organizations and members to .xlsx in the same column layout, then edit it.
- Fill in the Email, Display name, and Organization(s) columns, plus Service desk(s) if needed.
- Upload the file and run the dry run. Each row is classified as create customer, existing customer, create organization, add to organization, add to service desk, or error.
- Fix the errors, then run the import. Organizations are created first, then customers, then memberships and service desk access.
- Download the per-row CSV report. If the run is interrupted, run the same file again: it re-reads the site and re-plans, so nothing is created twice.
For loading customers in the first place, see bulk importing customers into JSM from CSV or Excel. To start from what is already there, see exporting JSM organizations and members to Excel.
Set up organizations in one run
Customer & Organization Importer for Jira Service Management creates missing organizations and customers, adds customers to organizations and service desks, and reports every row. It runs in your browser through the Jira REST API, and Cody Labs operates no server.
See Customer & Organization Importer for Jira Service Management