jira_get_create_fields
Retrieve required fields for a Jira project and issue type before creating an issue, including custom fields and allowed values, to avoid validation errors.
Instructions
IMPORTANT: Call this BEFORE creating an issue to discover required fields and their formats. Returns all required fields for a project and issue type, including custom fields, with allowed values and format hints. This prevents "field is required" errors during issue creation.
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>",
"issueType": "<issueType>"
},
"name": "jira_get_create_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueType | Yes | The issue type name (e.g., "Task", "Bug", "Story") | |
| projectKey | Yes | The project key (e.g., "PROJ") | |
| includeOptional | No | If true, also return optional fields. Default: false (only required fields). |