How to set the Request type for Jira Service Management issues when importing from CSV
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
When migrating from another issue tracker, you can export data to a comma-separated value (CSV) file and then import that file into your Jira Service Management application using the External System Import menu.
For requirements of this CSV file, please check out this page: Import Data from a CSV File
Request types are only available in JSM projects and they are not available to import as plain text.
NOTE: When multiple tickets are migrated to Jira Service Management using the CSV import method, there is a possibility that the request type will not be mapped to tickets in the JSM project due to the same reason the tickets will not be visible in the portal view. Therefore this method will be used to map the request type to the tickets while importing tickets via the CSV import method.
Solution
Instead of using the name of the request type, you can use the request type ID.
How to find the request ID for one request type?
- Navigate to your Project → Project Settings → Request types.
- Click on the request type you need.
- Look at the URL in the address bar of your browser. The number after the request type is the ID you need to use in your CSV file.
In the below example, the request type's ID is 30.
https://MyVerySite.atlassian.net/jira/servicedesk/projects/AA/settings/request-types/request-type/30/request-form
How to find all request-type IDs available in a JSM project?
You can use the following API endpoint to get all request type IDs: