Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

New cloud apps roundup - June 2021

Since our last roundup in April, Atlassian's Marketplace Partners have added over 100 new cloud apps to the Atlassian Marketplace to help your teams work more efficiently. Let’s take a quick look a...

378 views 5 12
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