Skip to content

feat(atlassian): Jira Cloud adapter + wire --target atlassian - #17

Merged
gerfru merged 1 commit into
mainfrom
feat/atlassian-jira
Jul 6, 2026
Merged

feat(atlassian): Jira Cloud adapter + wire --target atlassian#17
gerfru merged 1 commit into
mainfrom
feat/atlassian-jira

Conversation

@gerfru

@gerfru gerfru commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add JiraAdapter (adapters/atlassian/jira.py): creates Jira project (projectTypeKey=business), seeds QMS issue types via Jira REST API v3 — fully idempotent
  • Wire _deploy_atlassian() in cli/main.py: calls ConfluenceAdapter then JiraAdapter for --target atlassian
  • 9 unit tests in tests/test_jira.py; update tests/test_cli.py assertion

Test plan

  • uv run pytest tests/ -q → 85 passed
  • uv run ruff check . && uv run ruff format --check . → all clean
  • Live test: set ATLASSIAN_API_TOKEN, run qms-kit deploy --target atlassian --config config/clients/acme.yaml
  • Verify Jira project created and issue types seeded in Atlassian Cloud

🤖 Generated with Claude Code

- JiraAdapter: creates project (projectTypeKey=business), seeds issue
  types via Jira REST API v3, idempotent (skips existing resources)
- _deploy_atlassian() in CLI wires Confluence + Jira for atlassian target
- 9 unit tests covering project_exists, get/create issue type, deploy
- Fix SIM117: combine nested with-patch statements in test_jira.py
- Update test_cli.py: atlassian target now raises "config block missing"
  instead of "not yet implemented"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gerfru
gerfru merged commit c5fab7b into main Jul 6, 2026
6 checks passed
@gerfru
gerfru deleted the feat/atlassian-jira branch July 6, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant