workflow_requirement_to_issue
Create a GitLab issue from user requirements, halting further workflow automation.
Instructions
Use when requirement text should only create a GitLab issue and stop there. Do not combine this with workflow_requirement_to_delivery for the same user request. If the issue is already created, continue with workflow_issue_to_delivery instead of calling this tool again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requirement_text | Yes | Raw user requirement text. | |
| source_text | No | Optional extra background text for the default issue template. | |
| issue_template | No | Optional full issue markdown template. Supported built-in variables include {{summary}}, {{requirement_text}}, {{source_text}}, {{expected_change}}, {{issue_project_id}}, {{code_project_id}}, {{issue_project_path}}, {{code_project_path}}, {{branch_name}}, {{work_type}}, {{label}}. | |
| template_variables | No | Optional custom variables map merged into issue_template rendering. | |
| english_slug | No | Optional branch slug. | |
| work_type | No | Optional git/conventional work type override like feat, fix, docs, refactor, hotfix, feature. | |
| summary | No | Optional issue summary. | |
| issue_project_id | No | Issue project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| issue_project_path | No | Issue project path for issue template variables. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ISSUE_PROJECT_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| code_project_id | No | Optional code project ID used in issue template variables. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| code_project_path | No | Code project path for template/render context. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_PATH overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| labels | No | Issue labels list. | |
| label | No | Issue title prefix label and fallback issue label. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_LABEL overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| auto_create_labels | No | When true, create missing labels in issue project automatically. | |
| assignee_username | No | Single assignee username. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_ASSIGNEE_USERNAME overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| assignee_usernames | No | Assignee usernames list. | |
| assign_to_current_user_if_missing | No | When true, assign issue to current token user if no assignee is provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Analyze requirement and create issue workflow result. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |