Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Insight -- Possibility to synchronize Object Types on the same Server

Maik Bakowski September 2, 2020

Hello,

Short question....

I have two Schemas on the same Insight-Server, one called “IT Management” and one called “Information Security Management”

 

schema.jpg

 

The “IT Management” is my Main Schema, the “Information Security Management” is a Schema for another employee. Inside the “IT Management” Schema, there are different Object Types with many Objects, for example Object Type “Computer Corporate” with Objects like “CT-4432000130” or “CT-4432000131” and the corresponding Attributes like “Name” or “Location” or “Owner”

object.jpg

 

The Schema “Information Security Management” have also Object Types like “Desktop PC`s” or “Notebooks” with Objects like “CT-4432000130” or “CT-4432000131” and the corresponding Attributes like “Name” or “Location” or “Owner”.

object1.jpg

 

 

My question now, is it possible, if I changed some Attributes in the Main Schema “IT Management”, for Example, I changed the Attribute “Owner” in the Schema “IT Management”, that these changes will automatically synchronize with the “Information Security Management” and the Attribute “Owner” will changed to the Owner I have set in the Schema “IT Management”?

 

 

At the moment, I must change the Owner for example manually in the IT Management Schema and also manually in the other Schema, I like to automate the configuration so that the change in the Information Security Management synch the changes from the IT Management Schema automatically.

 

 

Hope this is understandable.  😊

 

Kind Regards

Maik Bakowski

 

 

1 answer

1 accepted

0 votes
Answer accepted
Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2020

Hello,

 

Updating one Object when another Object is updated can be achieved using the Groovy scripting. You can leverage the Insight Automation framework, define "Object Updated" as triggering point, set Objecttype = "Computer Corporate" as if condition and then as the action you can provide the path to your groovy script. You can find Groovy Scripting examples here:

https://documentation.mindville.com/display/INSSERV/Update+an+Object+Attribute

I also would like to add the note that, in case you replicate the data then things may get complicated. For example, what will happen if Object is updated in “Desktop PC`s”? Will you need to update Computer Corporate object? You will need to think about Data synchronisation in both ways.

Alternatively, you can keep the Computer Corporate as the main data source. And create references from “Information Security Management” object schema if necessary.

 

I hope it helps.

 

Regards,

Hakan Bahadir

Maik Bakowski September 8, 2020

Hello,

 

thanks for the suggestion, i will try it with a Groovy Script. The Link you have provided is broken, Site not found, but Google give a lot of Input and Insight itself have also Sites with Groovy Examples.

 Thanks for Help.

 

Regards

Maik

Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2020

Hi,

I updated the link.

Regards,

Hakan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events