{
"issueNumber": 558,
"branchName": "rc/atlassian-integration",
"generatedAt": "2026-04-23T17:14:57Z",
"stories": [
{
"id": "S1",
"title": "Register jira module in package.json and TEST_MODULES.md",
"priority": 1,
"dependsOn": [],
"acceptanceCriteria": [
"package.json has test:module:jira script using MODULE=jira",
"package.json has test:tier2d-jira alias for EPIC-naming compatibility",
"TEST_MODULES.md lists jira row with test count and @integration tag",
"TEST_MODULES.md mapping includes src/jira-adapter/** and src/atlassian/jira.service.ts"
],
"passes": false,
"completedAt": null
},
{
"id": "S2",
"title": "Create Jira webhook fixtures under test/jira/fixtures/",
"priority": 2,
"dependsOn": [
"S1"
],
"acceptanceCriteria": [
"issue-created.json represents a jira:issue_created event with issueKey, fields.summary, fields.description",
"issue-updated.json represents a jira:issue_updated event referencing the same issueKey and simulating a user comment/transition change",
"Fixtures validate against schema used by JiraAdapter in agent-core"
],
"passes": false,
"completedAt": null
},
{
"id": "S3",
"title": "Implement scenario spec posting webhooks and asserting mock-server calls",
"priority": 3,
"dependsOn": [
"S2"
],
"acceptanceCriteria": [
"Spec sends issue-created webhook to AGENT_CORE_URL/webhooks/jira (or adapter-defined route)",
"Spec waits for task state to reach a completed or transitioned phase",
"Spec sends issue-updated webhook and waits for resumption",
"Spec asserts mock recorded postComment then transitionIssue in order",
"Spec fails with a clear message naming the missing call if a call is absent",
"Spec is skipped with a clear log if MOCK_JIRA_URL env is unset"
],
"passes": false,
"completedAt": null
},
{
"id": "S4",
"title": "Run test:module:jira against port 8777 and confirm no regressions",
"priority": 4,
"dependsOn": [
"S3"
],
"acceptanceCriteria": [
"npm run test:module:jira exits 0 locally against port 8777",
"npm run test:smoke exits 0 with no regressions"
],
"passes": false,
"completedAt": null
}
]
}