Repository navigation
GHA-213 Add sandbox integration tests for Jira actions - #116
nils-werner-sonarsource wants to merge 3 commits into
Conversation
Add scripts/jira-sandbox/ with Python helpers to run a full end-to-end integration test cycle against the Jira sandbox: - setup.py: creates a version, Feature/Bug/Maintenance issues, and a REL release ticket; writes state to test_state.json - verify.py: runs 7 lifecycle verifications (release version, create next version, release notes, integration ticket, status transition) - cleanup.py: deletes all created objects and removes test_state.json - run_all.py: orchestrator that always runs cleanup even on failure - config.py / jira_client.py: shared constants and authenticated client Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… create-jira-version Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Generate the version name inline instead of using setup.py, which requires project admin rights the CI Jira user doesn't have. The action fetches its own Vault credentials internally for the create operation; cleanup reuses the same Vault path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remediation Agent Summary 📊
Issues requiring manual fix (3)
Note Help us improve the Agent! |
SonarQube reviewer guideSummary: Refactored integration testing approach for Jira actions—replacing mock tests with real sandbox E2E tests that execute actual action logic against a live Jira instance, plus support infrastructure (setup/verify/cleanup orchestration). Review Focus:
Start review at:
|





Summary
scripts/jira-sandbox/fixturesTest plan
unit-testsjobs passsandbox-integration-testjobs: setup creates sandbox state, action produces expected outputs, cleanup always runs🤖 Generated with Claude Code