Missed Team ’24? Catch up on announcements here.

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

How to create object type mapping for JSON import?

Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 3, 2023

Hello fellow community members,

While trying to create an object type mapping for a JSON import of Assets, the UI requires a value of 'Selector'. Though not indicated, but this is a required field.

The documentation available has no mention of this field and there is no help for this field.

Does anyone have an idea what is the expected value?

Documentation link: https://support.atlassian.com/jira-service-management-cloud/docs/how-to-map-object-type-references-when-importing/

Create Objecttype Mapping.jpg

1 answer

1 accepted

3 votes
Answer accepted
Vilim Berger January 4, 2023

Hi @Gaurav

it depends on the JSON format, for example:

{
   "book": [

      {
         "id": "01",
         "language": "Java",
         "edition": "third",
         "author": "Herbert Schildt"
      },

      {
         "id": "07",
         "language": "C++",
         "edition": "second",
         "author": "E.Balagurusamy"
      }

   ]
}

The selector for this JSON should be: book

I hope this helps. :)

Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 2023

Thanks, @Vilim Berger, this really helps.

Like Vilim Berger likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events