Sync Multiple Values form Database

Can the Sync database function add multiple values? I have a Object type of Location, but there are multiple departments in the location. When I sync my departments and locations, can it sync the multiple departments into an attribute on the location object type, rather than just 1 value?

1 answer

0 vote

Hi Anthony,

Yes, this can be done, there is documentation available at https://documentation.riada.se/insight/latest/insight-manager-s-guide/import-and-synchronization/general-import-concepts

Look under the section Import Attribute and Object Mapping (IQL). There is also a video clarifying how the IQL works. The example is a CSV, but the IQL is the same.

Best Regards
Alexander

So this did work to some extent. Some values were synced but no all were.

I think it may be related to this error that I receive. 2017-11-20 10:13:57,724 [insight-DefaultImportService-8-thread] | Unable to parse object referencing IQL. Will not be able to create references for IQL:Name = Valid Name of Object, Warn: ValidationInsightException: Validation errors were found: Errors: {iql=Invalid IQL:<Name = Name I Am Syncing>. IQL examples: Status = "In Stock". Example 2: Status in ("In Stock", "Approved"). Example 3: Status in ("In Stock", "Approved") AND Group = "jira-developers". Valid operators are (=,==,!=,<,<=,>,>=,in,not in,like,is,startswith,endswith,between,having,.) Invalid IQL:<{0}>. IQL examples: Status = "In Stock". Example 2: Status in ("In Stock", "Approved"). Example 3: Status in ("In Stock", "Approved") AND Group = "jira-developers". Valid operators are (=,==,!=,<,<=,>,>=,in,not in,like,is,startswith,endswith,between,having,.) }
Error Messages: []

Hi Anthony,

I think that is related to a bug in 5.2 and 5.2.1 which we have created a fix for that will be included in the next release, which is to be released as of today.

Best Regards
Alexander

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

243 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you