Environment Details:
Python Version: 3.13.5
Package Used: fastmcp
MCP Server Version: v2.1.0
Script Path: mcp_client.py
Issue Description:
Executed the script to list all JIRA tickets, but received an empty list.
Attempted to retrieve user profile information, but it also returned no relevant data.
Expected Behavior:
The script should return a list of JIRA tickets associated with the user profile.
Actual Behavior:
The output indicates "No JIRA issues returned (empty list)" and the user profile URL is undefined.
PS:
Able to get list of all 40 MCP Tools from Atlassian MCP Server bit unable to execute any tool. Using OAUth feature to connect (using command uvx mcp-atlassian --oauth-setup -v to accept on browser and generate code then access token to use)
another log:
A search_jira_issues(jql='project = TEST') run produced a tool execution error (the MCP tool returned an error string: "Cannot read properties of undefined (reading 'map')").
Adding logs for reference:
mcp_client.py
DEBUG: Using selector: KqueueSelector
DEBUG: Loaded environment variables from /Users/<name>/projects/TDD_Review/.env
INFO: Using MCP server config: ['atlassian-mcp-server']
Atlassian MCP server v2.1.0 running on stdio
INFO: Connected to MCP server
INFO: Tools available (40): ['get_confluence_current_user', 'get_confluence_user', 'search_pages_by_user_involvement', 'list_pages_created_by_user', 'list_attachments_uploaded_by_user', 'read_confluence_page', 'search_confluence_pages', 'list_confluence_spaces', 'get_confluence_space', 'list_attachments_on_page', 'download_confluence_attachment', 'upload_confluence_attachment', 'get_page_with_attachments', 'create_confluence_page', 'update_confluence_page', 'list_confluence_page_children', 'list_confluence_page_ancestors', 'add_confluence_comment', 'find_confluence_users', 'list_confluence_page_labels', 'add_confluence_page_label', 'export_confluence_page', 'get_my_recent_confluence_pages', 'get_confluence_pages_mentioning_me', 'get_jira_current_user', 'get_jira_user', 'search_issues_by_user_involvement', 'list_issues_by_user_role', 'get_user_activity_history', 'get_user_time_tracking', 'read_jira_issue', 'search_jira_issues', 'list_jira_projects', 'create_jira_issue', 'add_jira_comment', 'list_agile_boards', 'list_sprints_for_board', 'get_sprint_details', 'get_my_current_sprint_issues', 'get_my_unresolved_issues']
DEBUG: Calling tool 'list_jira_projects' with params: {}
DEBUG: Tool 'list_jira_projects' returned type=<class 'fastmcp.client.client.CallToolResult'> repr=CallToolResult(content=[TextContent(type='text', text='{\n "totalProjects": 0,\n "projects": []\n}', annotations=None, meta=None)], structured_content=None, meta=None, data=None, is_error=False)
DEBUG: Tool list_jira_projects content has 1 items
DEBUG: Tool list_jira_projects content[0].text (truncated): {
"totalProjects": 0,
"projects": []
}
DEBUG: JIRA projects raw: {'totalProjects': 0, 'projects': []}
DEBUG: Fetching JIRA issues startAt=0 pageSize=100
DEBUG: Calling tool 'search_jira_issues' with params: {'jql': 'ORDER BY created DESC', 'maxResults': 100, 'startAt': 0}
DEBUG: Tool 'search_jira_issues' returned type=<class 'fastmcp.client.client.CallToolResult'> repr=CallToolResult(content=[TextContent(type='text', text="Cannot read properties of undefined (reading 'map')", annotations=None, meta=None)], structured_content=None, meta=None, data=None, is_error=True)
DEBUG: Tool 'search_jira_issues' returned error envelope is_error=True meta=None
DEBUG: Tool search_jira_issues content has 1 items
DEBUG: Tool search_jira_issues content[0].text (truncated): Cannot read properties of undefined (reading 'map')
INFO: No JIRA issues returned (empty list).
INFO: Disconnected from MCP server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.