AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-554
  5. plan
  6. prd.json
prd.json(1.6 KB)ยท Apr 23, 2026
{
  "issueNumber": 554,
  "branchName": "rc/atlassian-integration",
  "generatedAt": "2026-04-23T17:13:47Z",
  "stories": [
    {
      "id": "S1",
      "title": "Add nock devDependency and author BitbucketService unit tests",
      "priority": 1,
      "dependsOn": [],
      "acceptanceCriteria": [
        "nock appears in package.json devDependencies and is installed",
        "src/bitbucket/bitbucket.service.spec.ts covers all 18 public methods with happy-path URL/method/body assertions",
        "Tests exist for 429 Retry-After wait+retry, 401 token refresh+retry, 5xx bubble-up, and Bearer header from authProvider.getToken()",
        "nock.disableNetConnect() enforces no real network; PLATFORM_AUTH_PROVIDER is mocked",
        "npm run test -- bitbucket.service.spec passes; npm run lint produces no warnings"
      ],
      "passes": false,
      "completedAt": null
    },
    {
      "id": "S2",
      "title": "Author JiraService unit tests",
      "priority": 2,
      "dependsOn": [
        "S1"
      ],
      "acceptanceCriteria": [
        "src/jira/jira.service.spec.ts covers all 11 public methods with happy-path URL/method/body assertions",
        "Tests exist for 429 Retry-After wait+retry, 401 token refresh+retry, 5xx bubble-up, and Bearer header from authProvider.getToken()",
        "JIRA_CLOUD_ID is set and restored via beforeEach/afterEach; base URL asserts https://api.atlassian.com/ex/jira/${JIRA_CLOUD_ID}",
        "nock.disableNetConnect() enforces no real network; PLATFORM_AUTH_PROVIDER is mocked",
        "npm run test -- jira.service.spec passes; npm run lint produces no warnings"
      ],
      "passes": false,
      "completedAt": null
    }
  ]
}
PlanPr description