fix(jira): correct ticket hierarchy — campaigns=Epic, all tests=Task

- Campaign issue type changed from Task to Epic (required to nest under
  Initiative OFS-20795 in classic Jira)
- Added customfield_10011 (Epic Name) — required when creating Epics
- Removed JIRA_ISSUE_TYPE_SUBTASK; all tests are now Task regardless of
  whether they are inside a campaign or standalone
- Standalone tests use the configured standalone parent (OFS-20798, an
  Epic) so Task→Task parent is never attempted
- Campaign tests use the campaign Epic key passed via parent_ticket_override
This commit is contained in:
kitos
2026-05-27 16:29:50 +02:00
parent cd9bdc7399
commit dd9d817d5d
2 changed files with 12 additions and 22 deletions
+2 -3
View File
@@ -51,9 +51,8 @@ class Settings(BaseSettings):
JIRA_API_TOKEN: str = ""
JIRA_IS_CLOUD: bool = True
JIRA_DEFAULT_PROJECT: str = ""
JIRA_ISSUE_TYPE_TEST: str = "Task"
JIRA_ISSUE_TYPE_CAMPAIGN: str = "Task"
JIRA_ISSUE_TYPE_SUBTASK: str = "Sub-task"
JIRA_ISSUE_TYPE_TEST: str = "Task" # tests (campaign or standalone)
JIRA_ISSUE_TYPE_CAMPAIGN: str = "Epic" # campaigns (under Initiative)
# ── Tempo Integration ─────────────────────────────────────────────
TEMPO_ENABLED: bool = False