I'd like to be able to bulk-load a batch of Services, and assign the Name, Service Type, Tier, Service Owners, Change approvers, Repository and Description either via import from CSV or via an API.
I am aware of the Opsgenie API , but it does't seem to allow control of the available Service attributes other than description.
Is a better option currently available?
Hi @Mick Szucs
Unfortunately not, as Services is a locked schema in assets and there is no option to run an import via csv or json on this.
You could try the API: https://developer.atlassian.com/cloud/assets/rest/api-group-aql/
As far as I can tell, the schema is locked from access via that API as well?
I'm hoping someone can confirm otherwise.
GET /jsm/assets/workspace/.../v1/objectschema/list HTTP/1.1
{
...
{
"workspaceId": "...",
"globalId": "...",
"id": "1",
"name": "Services",
"objectSchemaKey": "SVC",
"status": "Ok",
"description": "Contains the 'Service' object type and services your site uses across projects.",
"created": "2021-08-26T19:05:43.599Z",
"updated": "2021-08-26T19:05:43.683Z",
"objectCount": 0,
"objectTypeCount": 4,
"canManage": false
}
...
}
PUT /jsm/assets/workspace/.../v1/object/...
{
"errorMessages": [
"Sorry, you do not have permission to perform this action. PermissionInsightException: User ... didn't have correct permission (create object) for object type: 12"
],
"errors": {}
}
I don't think it is possible to have an API key with more permissions than the one I am using, so this appears to be a constraint imposed by the system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mick Szucs
Then there's currently no possibility to adapt the services in bulk.
See also, https://jira.atlassian.com/browse/JSDCLOUD-10569
You can even find more requests based on the services schema.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank-you, I added my votes and am watching those. At least one of them has been assigned, which is good news. :)
This leads me to another question:
Is anyone successfully using Services at scale?
If so, how did you create, and how do you maintain your Services list?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Time to up your Loom game! The new Loom Essentials Certification is here! Show off your skills, learn pro tips, and get officially recognized. Perfect for taking your video messaging to the next level.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.