create_task
Create new JIRA tasks directly from Claude AI by specifying a title, enabling issue tracking and project management integration.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes |
Implementation Reference
- src/hh_jira_mcp_server/server.py:21-36 (handler)The create_task tool handler, registered with @mcp.tool(). Creates a Jira task in project 'HH' with the provided title, assigns to current user and team, and returns the task URL.@mcp.tool() def create_task(title: str) -> str: try: fields = { 'project': "HH", 'issuetype': {'id': '3'}, 'summary': title, 'assignee': {'name': get_user()}, 'customfield_10961': {'value': get_team()} } task = get_jira().create_issue(prefetch=True, fields=fields) return get_task_url(task.key) except Exception as e: return f"Error: {str(e)}"