Forums

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

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 Champion
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

Maximiliano Julio November 22, 2024

Hi Francisco, how are you?


I am experiencing the same problem.
Could you provide more detail about your solution you found? I'm sure I will find it very useful

Regards

Suggest an answer

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

Atlassian Community Events