Forums

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

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-
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.
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-
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.
August 3, 2017

Try the one in the docs?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events