not able to create issue type using json file

manoharv August 3, 2017

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 3, 2017

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

manoharv August 3, 2017

any idea what could be the right structure 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 3, 2017

Try the one in the docs?

Suggest an answer

Log in or Sign up to answer