get_project_fields
List a YouTrack project's custom fields with required status and valid values, and filter them by planned issue values before calling create_issue to set exactly the right fields.
Instructions
List custom fields for a project with required status and available values.
Use this before create_issue to discover required fields and valid values.
A conditional field (shown only for some values of another field) is
labelled with its condition, e.g. (required when Type = Bug): it
cannot be set on an issue that does not meet it.
Args: project: Project short name instance: YouTrack instance (optional) when: Values the new issue will have, e.g. "Type=Tech task" or "Type=Bug; Product=Alpha". Fields whose condition these values do not meet are left out, so the list is exactly what to set.
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": "<project>"
},
"name": "get_project_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | ||
| project | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |