You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
A user is getting the following error when attempting to create an issue through the API:
00 Bad Request
"Unrecognized field \"fields\" (Class com.atlassian.jira.rest.api.customfield.CustomFieldDefinitionJsonBean), not marked as ignorable\n at [Source: org.apache.catalina.connector.CoyoteInputStream@98f8994; line: 2, column: 16] (through reference chain: com.atlassian.jira.rest.api.customfield.CustomFieldDefinitionJsonBean[\"fields\"])"
This is the JSON that is being sent via API, scrubbed of some information:
"description": "Test: Post Man REST API",
"name": "Opt In"
I would initially have assumed that the "fields" portion of the JSON is not properly configured. However, this same request works correctly in our QA environment. I have already confirmed that there are no conditions or required fields that would be preventing ticket creation, and that the user/password they are using has Jira access and has access to create tickets in the target project. Any assistance in decoding this error message would be appreciated. Please let me know if there is any other information I can provide.