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

JSON Import - How to add a Request Type

Bryton Salisbury
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 2, 2023

We're trying to mass import tickets from another ticketing system, but I can't for the life of me figure out how to map to a 'Request Type' within JSM.

What does it take to get this field to populate using a JSON import?

I've tried many combinations of using field[], customFieldValues[], customfield_10010: but I can't get anything to actually work.

 

image.png

2 answers

2 votes
Kai Becker
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 2, 2023

Hi @Bryton Salisbury 

welcome to the community and thanks for your question.
You were almost their with your past tries, but the input value is a little more complicated.

It is a regular custom field like "customfield_10202",  but the value is a combination of the project key and the request type name, like so: "its/getithelp"

A detailed guide to get these values can be found here.

0 votes
Francis Batilo
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.
September 2, 2024

Hi @Bryton Salisbury

I needed the same idea as you and I found the solution to your question. I know this is more than a year late, but this is the field type the you need to update your Custom Request Type Field

"fieldType": "com.atlassian.servicedesk:vp-origin",

 

For reference, you can find this information under your inspect page and then find 

  1. field-config/src folder
  2. open index.tsx and then find the export const command for the field that you're looking for (e.g., export const REQUEST_TYPE_CF_TYPE = 'com.atlassian.servicedesk:vp-origin' as const;).

It's been more than a year, but I hope this answer finds you and it helps you.

Cheers,

Francis

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events