Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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

Hi,

I updated the link.

Regards,

Hakan

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

225 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you