Forums

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

Issue creating user stories via MCP server with Amazon Q in VS Code

Nicola Pacini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 31, 2025

Hi there!

I’m using Amazon Q inside Visual Studio Code to create user stories in Jira and interact with Confluence, via the MCP Atlassian server. Until last week everything was working fine and I was able to create user stories without issue. Since yesterday this operation fails because of an issue related to the custom fields we use in our projects, this is the JSON output response:

{  "output": {  "kind": "text",  "content": "{\"content\":[{\"type\":\"text\",\"text\":\"{\\\"error\\\":true,\\\"message\\\":\\\"Input data should be a String\\\"}\"}],\"isError\":true}"  } }

Do you know if something changed in the custom fields configuration lately? For you to know, we are using the following fields:

## Personal Data 
**Field ID:** customfield_<id>
**Value:** <value>
**Value ID:** <value id>

## Requesting Area
**Field ID:** customfield_<id>
**Value:** <value>
**Value ID:** <value id>

## Description Field
**Field ID:** customfield_<id>

FYI I've also tried to replicate the exact POST call to REST API and it worked well:


POST https://api.atlassian.com/ex/jira/<cloud id>/rest/api/3/issue 
Authorization: Bearer [token]
Content-Type: application/json

{ "fields": { "project": {"key": "TRANS"}, "issuetype": {"name": "Task"}, "summary": "Dummy test task for automation", "parent": {"key": "TRANS-397"}, "customfield_12249": {"id": "31682"}, "customfield_12289": {"id": "30847"}, "customfield_12281": { "content": [ { "attrs": {"level": 2}, "content": [{"text": "Description", "type": "text"}], "type": "heading" }, { "content": [{"text": "As a developer I want to create a dummy task so that I can test the automation system", "type": "text"}], "type": "paragraph" }, { "attrs": {"level": 2}, "content": [{"text": "Background", "type": "text"}], "type": "heading" }, { "content": [{"text": "This is a test task created for automation testing purposes.", "type": "text"}], "type": "paragraph" }, { "attrs": {"level": 2}, "content": [{"text": "Acceptance Criteria", "type": "text"}], "type": "heading" }, { "attrs": {"language": "gherkin"}, "content": [{"text": "Given the task is created\nWhen the automation runs\nThen the task should be visible in Jira", "type": "text"}], "type": "codeBlock" } ], "type": "doc", "version": 1 } } }

Furthermore, I tested the same operation (createJiraIssue) with another project that doesn't require custom fields and it went fine.

 

Thanks in advance and looking forward to hearing from you.

Nicola

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events