Skip to main content
Glama

create_issue

Create a new Jira issue (Task, Sub-task, Bug, Story) with required fields like project, summary, priority, labels, and due date. Use dryRun to preview metadata before saving.

Instructions

Tạo một Jira issue mới (Task, Sub-task, Bug, Story). Dùng dryRun=true để xem metadata (custom fields, users, epics) — không tạo issue. Dùng khi phân rã một task lớn thành các sub-task nhỏ hơn, hoặc khi tạo task từ file mô tả nghiệp vụ .md. Nếu người dùng yêu cầu tạo task mới như 'tạo task mới cho tôi nhé', hãy yêu cầu họ cung cấp các thông tin dựa trên ví dụ sau:

  • Dự án (Project Key): PROJECT_KEY

  • Loại Issue: Task

  • Tiêu đề: Phối hợp thực AM UBNB Hoài Hôi

  • Mô tả: Phối hợp thực AM UBNB Hoài Hôi

  • Mức độ ưu tiên: Low

  • Nhãn (Labels): ProjectLabels

  • Mã SPDA: PROJ ProjectSPDA

  • Công đoạn: Nghiên cứu và phát triển

  • Due Date: 2026-04-03

  • Assign cho: nghiath (optional)

  • Epic: PROJECT-100 (optional) ⚠️ PHẢI hỏi user xác nhận TRƯỚC KHI gọi tool này — hiển thị nội dung issue sẽ tạo cho user duyệt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectKeyYesProject key, VD: 'PROJAI'
dryRunNotrue = chỉ xem metadata (custom fields, users, epics) — không tạo issue
issueTypeNoLoại issueTask
summaryNoTiêu đề ngắn gọn của issue (bắt buộc khi tạo issue)
descriptionNoMô tả chi tiết issue (bắt buộc khi tạo issue)
parentKeyNoKey của issue cha — bắt buộc nếu issueType là Sub-task
priorityNoMức độ ưu tiên (bắt buộc khi tạo issue)
labelsNoDanh sách labels, VD: ['backend', 'urgent'] (bắt buộc khi tạo issue)
spdaNoMã SPDA (customfield_10100). VD: 'PROJ XXXXX' (bắt buộc khi tạo issue)
congDoanNoCông đoạn (customfield_10101). VD: 'Nghiên cứu và phát triển' (bắt buộc khi tạo issue)
dueDateNoNgày hết hạn, format YYYY-MM-DD. VD: '2026-04-15' (bắt buộc khi tạo issue)
assigneeNoUsername của người được assign. Dùng dryRun=true để xem danh sách user khả dụng. VD: 'nghiath', 'admin'. Bỏ trống = không assign.
epicKeyNoKey của Epic muốn liên kết. VD: 'PROJ-100'. Dùng dryRun=true để xem danh sách Epic đang mở. Bỏ trống = không link Epic.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It discloses dryRun behavior (only returns metadata, no creation) and implies mutation. Missing details on rate limits or auth requirements, but adequate for a creation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is verbose with a long example and instructions. While front-loaded with purpose, the example could be shortened. Still structured and readable, but not maximally concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given high schema coverage, no output schema, description covers creation, dryRun, and required confirmation. Could mention return type but acceptable without output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with basic descriptions. Description adds value by explaining when to use dryRun to see available users/epics, and providing context for assignee and epicKey fields beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it creates new Jira issues (Task, Sub-task, Bug, Story). It specifies the action (tạo = create) and resource (Jira issue). Distinguished from siblings like update_issue, which modifies existing issues.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: breaking down large tasks into sub-tasks or creating tasks from .md files. Also includes a mandatory instruction to ask user confirmation before calling the tool, and provides a detailed example to guide user input.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hieutv-dng/jira-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server