Forums

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

VS code with Atlassian MCP Server - error creating issue with custom field

Queenie Ng October 6, 2025

I am new to Agent + MCP, and was stuck in asking VS copilot Agent to create a Jira Test Issue Type with this error message:

 

 "message": "Failed to create issue: Bad Request. {\"errorMessages\":[],\"errors\":{\"customfield_12345\":\"must NOT have additional properties\"}}"
I asked the Agent, I google and search the jira api https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/
I tried lots of different input format for the custom field (Select list single option) but all of them fails - 
e.g.
 "customFields": {
    "customfield_12345": {
      "value": "my value"
    }
  }
or
"customfield_12345": { "value": "red" }
or
"customfield_12345": { "id": "11223" }
or
"customfield_12345": {
    "id": "11223",
    "value": "my value"
  }
Wondering if anyone has same issue and if it was resolved, how?  Or it's just a limitation of beta?
Thanks alot!

1 answer

1 vote
John Funk
Community Champion
October 6, 2025

Hi Queenie - Welcome to the Atlassian Community!

You will need to be a Jira Admin to create new Work Types. 

Queenie Ng October 8, 2025

Hello!

Sorry about the confusion - to clarify, I am not creating a new Work Type.  Test work type already exists in our Project.  

What I wanted to do is using the Agent to create an Issue (type = Test) and relate it to another existing issue (type = Story) using "relates to" or "tests"

However creating test issue a certain custom field is mandatory (customfield_12345) in our project workflow.  I am struggling to find the right format to pass the customfield value.  

Hope it clarifies the problem I'm having

John Funk
Community Champion
October 11, 2025

Yes, that is helpful clarification. Can you provide the exact scenario/use case (step-by-step is best) and where the current process is breaking down? 

Queenie Ng October 24, 2025

I tried again seems like Atlassian resolved the custom field issue already.  Test created, now trying to do the link..thanks for helping!

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events