Hello All!
I'm looking to see if it's possible to bulk upload "Services objects" to the "Services" object schema in JSM Insight (now called Assets).
The reason I want to be able to bulk upload Services is so I don't have to manually create all of them if I could help it, since I've procured data on 100+ services to be accounted for in Assets. I know it's doable if you were to import objects to a custom object schema, but the same doesn't seem to be possible for the Services schema provided by JSM.
Is there anything I'm missing, or is there an add-on in marketplace or a method through Jira's API that'll allow me to do this?
Because the services object schema is locked you cannot do a bulk import to it unfortunately.
Dang really? That's unfortunate. So if I had a 1000+ service objects to bulk import (or even update after the fact), then it'd have to be all manual.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I looked a bit more into this and it looks like you can access services via the Opsgenie API, so you should be able to do bulk import via it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the tip @Mikael Sandberg !
I was able to get the ball rolling by creating one test service object thru Postman:
A couple follow-up questions if you don't mind:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't look like you can set the Tier level via the API, but hopefully that is something that is coming in the future.
For your second question, I would do similar to how I import data from our Endpoint Security tool to get our devices into Assets. We use an iPaaS tool for that and it iterates over each asset and then sends an create/update request to the Assets API when needed. So it is basically a big loop that sends a request for each device.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mikael Sandberg Agh, double-bummer on not being able to access Tier level. Hopefully there's another alternative outside of OpsGenie API (maybe Graph QL?). Anyway, that'll probably be a follow-up post.
On the upside, I was able to make use of a Postman collection online that allows you to loop through a request with different data, then added the values I needed for the service name and description in the pre-req script:
It does the initial job of bulk-uploading services, so this'll do :)
(I also found this article on bulk imports which is another alternative, but still no Tier parameters accessible.)
Once again, appreciate the feedback!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.