Create defect
create_defectLog a defect in a project with title and priority, and optionally attach local files to provide supporting evidence.
Instructions
Create a new defect in a project. Use get_defect_metadata to see valid priority values. Optionally attach local files (png, pdf, jpg, jpeg, gif, xls, xlsx, doc, docx, csv, log, zip, txt; max 2 MB each).
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": {
"projectKey": "<projectKey>",
"issueSummary": "<issueSummary>",
"priority": "<priority>"
},
"name": "create_defect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| priority | Yes | Priority of the defect (see get_defect_metadata) | |
| filePaths | No | Local file paths to attach | |
| projectKey | Yes | Project key | |
| issueSummary | Yes | Title of the defect |