How to bulk create Assets objects in the Services schema
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Assets objects can't be imported or created in bulk directly in the Services schema using the API. This is because Services is a read-only schema that is synced with Jira Service Management's Services feature.
Solution
Even though it's not possible to import or create multiple objects at a time in this schema, you can use an OpsGenie REST API Endpoint to create Services in bulk. This will automatically sync the information from JSM/Opsgenie to Assets.
- Service API - you can find the API key by going to https://<sitename>.app.opsgenie.com/settings/api-key-management. Note that "teamID" and "Name" are mandatory fields.
- Authentication - here you can find all the details on how to authenticate to execute this request.
Notes
The above workaround, only works on sites that have Opsgenie bundled with JSM, and does not work on sites having the new Jira Service Management UI with the Operations feature.
We have feature requests to track the implementation of improvements for the Services schema:
- JSDCLOUD-10461Getting issue details... STATUS
- JSDCLOUD-10569Getting issue details... STATUS
- JSDCLOUD-10015Getting issue details... STATUS