|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "$id": "https://han.guru/schemas/providers/jira.schema.json", |
| 4 | + "title": "Jira Provider Config", |
| 5 | + "description": "Provider-specific configuration for Jira ticketing", |
| 6 | + "type": "object", |
| 7 | + "properties": { |
| 8 | + "project_key": { |
| 9 | + "type": "string", |
| 10 | + "description": "Jira project key (e.g., PROJ)" |
| 11 | + }, |
| 12 | + "cloud_id": { |
| 13 | + "type": "string", |
| 14 | + "description": "Atlassian site URL or cloud ID" |
| 15 | + }, |
| 16 | + "issue_type": { |
| 17 | + "type": "string", |
| 18 | + "default": "Task", |
| 19 | + "description": "Default issue type name for unit tickets" |
| 20 | + }, |
| 21 | + "issue_type_id": { |
| 22 | + "type": "string", |
| 23 | + "description": "Jira issue type ID (overrides issue_type name lookup)" |
| 24 | + }, |
| 25 | + "labels": { |
| 26 | + "type": "object", |
| 27 | + "description": "Map of unit discipline to Jira label arrays", |
| 28 | + "additionalProperties": { |
| 29 | + "type": "array", |
| 30 | + "items": { "type": "string" } |
| 31 | + }, |
| 32 | + "examples": [{ "backend": ["Elixir"], "frontend": ["React", "TypeScript"] }] |
| 33 | + }, |
| 34 | + "story_points": { |
| 35 | + "type": "string", |
| 36 | + "enum": ["required", "optional", "none"], |
| 37 | + "default": "none", |
| 38 | + "description": "Whether to estimate and set story points on unit tickets" |
| 39 | + }, |
| 40 | + "story_points_field": { |
| 41 | + "type": "string", |
| 42 | + "default": "story_points", |
| 43 | + "description": "Jira field ID for story points (e.g., 'customfield_10014'). Varies per Jira instance." |
| 44 | + }, |
| 45 | + "epic_link": { |
| 46 | + "type": "string", |
| 47 | + "enum": ["required", "optional", "none"], |
| 48 | + "default": "required", |
| 49 | + "description": "Whether to link all unit tickets to the intent epic" |
| 50 | + }, |
| 51 | + "issue_links": { |
| 52 | + "type": "string", |
| 53 | + "enum": ["required", "optional", "none"], |
| 54 | + "default": "required", |
| 55 | + "description": "Whether to create Blocks/Blocked-By links from unit depends_on DAG" |
| 56 | + }, |
| 57 | + "link_types": { |
| 58 | + "type": "object", |
| 59 | + "description": "Jira link type names for DAG relationships", |
| 60 | + "properties": { |
| 61 | + "blocks": { |
| 62 | + "type": "string", |
| 63 | + "default": "Blocks", |
| 64 | + "description": "Link type name for 'blocks' direction" |
| 65 | + }, |
| 66 | + "blocked_by": { |
| 67 | + "type": "string", |
| 68 | + "default": "Is Blocked By", |
| 69 | + "description": "Link type name for 'blocked by' direction" |
| 70 | + } |
| 71 | + }, |
| 72 | + "additionalProperties": false |
| 73 | + }, |
| 74 | + "details": { |
| 75 | + "type": "object", |
| 76 | + "description": "Additional ticket content requirements (field name to requirement level)", |
| 77 | + "additionalProperties": { |
| 78 | + "type": "string", |
| 79 | + "enum": ["required", "optional", "none"] |
| 80 | + } |
| 81 | + } |
| 82 | + }, |
| 83 | + "required": ["project_key"], |
| 84 | + "additionalProperties": false |
| 85 | +} |
0 commit comments