Forums

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

Import using JSON error.

Mahad Uddin December 13, 2023

I am trying to import tickets with agent-customer interactions from a different helpdesk system using JSON. I get an error that says "There was a problem validating the JSON file. The fields [] are not valid. I tried removing the [] it succeeds but no tickets or issues are generated. How do I go about doing this?

Screenshot 2023-12-13 140502.png

1 answer

0 votes
Marc - Devoteam
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.
December 14, 2023

Hi @Mahad Uddin 

How does the JSON you try to execute look like, this will greatly help community members to help in resolving your issue.

Mahad Uddin December 14, 2023

Hi @Marc - Devoteam 

Thank you for your response. How would you like me to show how the JSON file look like? Sorry, I have no idea about coding at all. I exported the tickets from the helpdesk system in JSON and I thought just importing them into Jira would work. Apparently not.

Mind you I have taken no other steps (literally have no idea where to begin and what to search for). But back to my question, how do you want me to show what my JSON file looks like?

Marc - Devoteam
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.
December 14, 2023

Hi @Mahad Uddin 

Can you make a screenshot of a single issue?

You can also make a csv export and try to import it this way.

Is the system you exported from also Jira or different? If different look at the API documentation on creating issues

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post 

Mahad Uddin December 18, 2023

I apologize for the delayed response.

I am not sure what you mean by screenshot of a single issue? Do you mean a couple lines from the JSON that I had exported?

The system is different. The JSON export from my current system is vastly different from what Jira requires. Atleast that's what I have figured out in my extensive research lol.

And I have over 120 JSON files with no technical coding skills lol. I can't possibly modify all those JSON files I have exported to match to the Jira requirements.

Marc - Devoteam
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.
December 18, 2023

Hi @Mahad Uddin 

You will need to as, Jira requires the JSON to import to be formatted in a certain way, as shown in the API documentation.

You export is in JSON from a different system, that system also has it's own formatting.

They use the same language, but not the same payload option.

Suggest an answer

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

Atlassian Community Events