The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

Try the one in the docs?

TAGS
AUG Leaders

Atlassian Community Events