jira_to_test_suite
Transform a Jira ticket into a complete test suite: Gherkin scenarios, E2E steps, API test cases, test data matrix, and ambiguity detection. Accepts either Jira credentials (auto-fetch) or a pre-fetched issue object. The returned test_suite includes _gherkin_warnings (deterministic syntax validation — empty if clean). Requires BYOK LLM key (OpenAI, Anthropic, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | No | Pre-fetched issue object from fetch_jira_issue, OR a mock object with fields: key, summary, description (plain text or Markdown), status, issue_type, priority, labels, comments. Use this for offline/CI testing without Jira credentials. | |
| model | Yes | LLM model to use, e.g. "gpt-4o-mini", "claude-3-5-haiku-20241022", "gemini-2.0-flash". | |
| api_key | Yes | Your LLM provider API key (OpenAI sk-, Anthropic sk-ant-, Google AIzaSy-, etc.). | |
| issue_key | No | Jira issue key to fetch automatically, e.g. "PROJ-123". Required if issue is not provided. | |
| jira_email | No | Atlassian account email. Required for auto-fetch mode. | |
| jira_token | No | Atlassian API token. Required for auto-fetch mode. | |
| max_tokens | No | Maximum tokens for the LLM response. Default: 8192. Increase for large tickets with many ACs; decrease to reduce cost on simple tickets. | |
| jira_base_url | No | Atlassian base URL. Required for auto-fetch mode. | |
| confluence_pages | No | Optional array of pre-fetched Confluence page objects from fetch_confluence_page, used as documentation context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | ||
| issue_key | No | ||
| issue_url | No | ||
| latency_ms | No | ||
| model_used | No | ||
| test_suite | No | ||
| tokens_used | No |