-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugSomething isn't workingSomething isn't workingneeds reproneeds additional information to be able to reproduce bugneeds additional information to be able to reproduce bug
Milestone
Description
Consider
export function registerCreateIssue(server: McpServer) {
server.tool(
'create_issue',
'Creates a new Jira issue based on the provided data. IMPORTANT: Run the load_context_data tool ONCE before using this tool.',
{
type: 'object',
properties: {
projectKey: {
type: 'string',
description: 'The key of the project where the issue will be created',
},
issueTypeId: {
type: 'string',
description: 'The ID of the issue type',
},
summary: {
type: 'string',
description: 'The summary (title) of the issue',
},
description: {
type: 'object',
description: 'The description of the issue in Atlassian Document Format',
},
additionalFields: {
type: 'object',
description: 'Optional additional fields for the issue',
},
},
required: ['projectKey', 'issueTypeId', 'summary', 'description'],
additionalProperties: false,
},
async (input, _ctx): Promise<CallToolResult> => {
Cline for VS Code is sending:
Cline wants to use a tool on the atlassian-mcp-server
MCP server:
create_issue
Auto-approve
Creates a new Jira issue based on the provided data. IMPORTANT: Run the load_context_data tool ONCE before using this tool.
Arguments
{
"projectKey": "O11YAI",
"issueTypeId": "3",
"summary": "Sample Task",
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "test"
}
]
}
]
}
}
However input
has no properties projectKey
etc when debugging the server.
This issue is occurring with all tools in my project.
bbossola
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds reproneeds additional information to be able to reproduce bugneeds additional information to be able to reproduce bug