How to move related items record from one ci to duplicate CI using script

jack33
Tera Expert

How to move related items record from one ci to duplicate CI using script
I have 2 CIs and change record is linked to duplicate one and while remediating de dup task i can't see change record at time of merge relationship.So i want to write a script to move change record from duplicate record to main CI

can someone help?

Thanks in advance

3 REPLIES 3

santosh22
Tera Contributor

Hi Jack, 

I too have the same solution. Did you find any solution?

Hi Santosh,

 

you can try fix script.

On change request table you can update configuration item with script. or check task table and try update CI linked to any incident/change with script

santosh22
Tera Contributor

I want to copy other (not just task records) related table records too. Could you provide script if you have it handy?