- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2016 12:58 PM
Hello Community,
I was wondering if there was a way of copying related CI items from one CI to another. i.e.
Take CI related items from one CI:
and copy it to another CI:
I would hate to have to replicate these relationships manually:
Thanks for your help in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2016 02:21 PM
So it looks like i had to hack it for now.
I had to do a source code injection.
Steps:
open up the relationship items for the table that has all the CI relationships configured all ready.
right click the relationship table to inspect the element.
copy the "select id" of the table with the CIs (it should contain the sys_id's of the CI items were trying to copy).
paste the string into a code editor in preparation to paste into another ci:
Open another CI that you would like to copy the related CI items to:
right click on the "select id" segment like in the previous CI and paste the code we copied from the editor here:
Click on one of the items to make the "Apply" button live and register all the updated data that was inputted:
And "BAM" easy copied solution for related CIs from one CI to another.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2016 04:08 PM
I will test it out and let you know jake.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2016 05:13 PM
Hello Jake,
would you be so kind as to guide me (and the community) as to where this code will be scripted?
Would it be in the ui action tab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2016 04:25 PM
If you want to bulk upload the Cmdb relationships you can use import set transform map functionality.
Thanks
Rahul Kathuria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2016 05:28 PM
Hello Rahul,
Do you know the procedure in order to do so?