Forums

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

How to import Insight references in CSV?

Tim
Contributor
April 12, 2021

I have an object type with two references defined like this:

WidgetObjectType.PNG

The color and shape objects are simply:

ColorObjectType.PNG

Using the following as input:

ashape,acolor,anobject,number
Square,Blue,Widget SB,1
Circle,Blue,Widget CB,1
Square,Red,Widget SR,1
Triangle,Green,Widget TG,1

I'm unable to populate the two reference type attributes using this import configuration:

importConfiguration.PNG

The color and shape object types populate objects as expected, but the objects added to the Widget type does not import the referenced fields.  I'm assuming the Data Locator is the CSV column heading and that it should match the locator in the Object mapping IQL.  No errors are reported.

WidgetObjects.PNG

 

Thanks,

-tim

1 answer

1 accepted

2 votes
Answer accepted
Björn Gullander
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2021

Hi,

Try IQL mapping Name = ${ashape} 

Name is the attribute in the Shape object type you want to use to find the matching Shape object. 

label = ${ashape} should also work but without the plural s in labels. 

And likewise Name = ${acolor} 

Tim
Contributor
April 13, 2021

Thanks Bjorn!!  

I guess I got hung up on JQL labels.  Curious there was no error generated.  I changed to label and all works as expected.

I will use label as that is what is documented here...

Create attributes and references from your data | Jira Service Management Cloud | Atlassian Support

Thanks again for your help!

-tim

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian community, journeys for jira service management, journeys for jsm, eap jsm atlassian, early access program atlassian, early access program journeys atlassian, early access program journeys jira service management, join atlassian eap

Join the Early Access Program (EAP) - Journeys for Jira Service Management 🚪

Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨

Join the EAP →
AUG Leaders

Atlassian Community Events