not able to create issue type using json file

i am trying to create the issue type using json import option i am getting following error 

java.lang.RuntimeException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "Issue Type" (Class com.atlassian.jira.plugins.importer.sample.SampleData), not marked as ignorable

Following is the content from my json file 

{
"Issue Type": [
{
"name": "my test task",
"description": "my test task",
"type": "standard"
}
]
}

1 answer

0 votes

https://docs.atlassian.com/jira/REST/cloud/#api/2/issuetype-createIssueType says nothing about "Issue Type:" - that's not the right structure for it.

any idea what could be the right structure 

Try the one in the docs?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,108 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you