create_issue
Create a new Redmine issue or ticket with fields such as project, subject, assignee, dates, and attachments, then receive the new issue ID and any field warnings.
Instructions
Create a new issue (ticket) in Redmine.
Args:
project_id: Project ID (numeric) or project identifier (string) (required)
subject: Issue subject/title (required)
description: Issue description (optional)
tracker_id: Tracker ID (optional, uses project default if not specified)
status_id: Status ID (optional)
priority_id: Priority ID (optional)
assigned_to_id: Assigned user ID (optional)
category_id: Category ID (optional)
fixed_version_id: Target version ID (optional)
parent_issue_id: Parent issue ID for subtasks (optional)
start_date: Start date in YYYY-MM-DD format (optional)
due_date: Due date in YYYY-MM-DD format (optional)
estimated_hours: Estimated hours as float (optional)
done_ratio: Progress percentage 0-100 (optional)
is_private: Whether the issue is private (optional)
watcher_user_ids: List of user IDs to add as watchers (optional, requires Redmine 2.3.0+)
custom_fields: List of custom field dictionaries with 'id' and 'value' keys (optional)
uploads: List of file uploads to attach. Each upload should be a dictionary with:
- token: Upload token from upload_attachment() (required)
- filename: Filename to use in Redmine (required)
- content_type: MIME type (optional, e.g., "application/pdf")
- description: File description (optional)
Returns:
Dictionary containing the created issue information including its ID.
If Redmine silently ignored some of the requested fields (workflow or
permission restrictions), the response contains a "warnings" list
describing them. In that case the issue WAS created - do NOT retry
creation; use update_issue to fix the remaining fields instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"subject": "<subject>"
},
"name": "create_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | ||
| uploads | No | ||
| due_date | No | ||
| status_id | No | ||
| done_ratio | No | ||
| is_private | No | ||
| project_id | Yes | ||
| start_date | No | ||
| tracker_id | No | ||
| category_id | No | ||
| description | No | ||
| priority_id | No | ||
| custom_fields | No | ||
| assigned_to_id | No | ||
| estimated_hours | No | ||
| parent_issue_id | No | ||
| fixed_version_id | No | ||
| watcher_user_ids | No |