Files
yetano-clients/TODO.md
T
terminarandClaude Opus 5.5 6a97dbd4c6 Shared Atlassian clients: atlassian/jira and atlassian/confluence
New library module yetano.dev/yetano/yetano-clients (owner decision
2026-11-01) replacing the three own Jira clients in yareco, yabaratla
and yamcp:

- atlassian: Options, Auth (api_token, basic, bearer/pat, cookie),
  Deployment (Cloud/Data Center), TLS, APIError and sentinel errors.
- atlassian/internal/transport: retry with backoff on 5xx/connection
  errors, shared adaptive 429 throttle honouring Retry-After (from
  yabaratla/yareco), CA file, proxy, cross-host redirect hardening,
  response cap (from yamcp), startAt pagination, file downloads.
- atlassian/jira: typed reads (projects, versions, fields, issues,
  comments, changelog, editmeta, transitions), JQL search on Cloud
  (/search/jql) and Data Center, classic search pages, issue writes,
  ADF/plain-text bodies per deployment, custom-field helpers.
- atlassian/confluence: small content API client (CQL search, pages,
  spaces, current user, create/update page with version check,
  comment, label), taken over from yamcp.

Standard library only; tests against httptest servers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:11:00 +01:00

1.4 KiB

TODO

Next

  • Tag v0.1.0 (owner) once the first consumer switch is reviewed; yareco, yabaratla and yamcp already require v0.1.0.

Open

  • yamcp search on Cloud. yamcp's jira_search_issues still uses SearchPage (classic POST /rest/api/3/search), which Atlassian has deprecated on Cloud in favour of /search/jql (Search). Moving yamcp means a token-based paging contract for its tool (no startAt, no total) -- a yamcp tool-API decision, tracked in yamcp's TODO.md.
  • Confluence site backup. yabaratla's internal/confluence (undocumented /wiki/rest/obm/1.0 backup trigger/progress endpoints, resumable range download of very large archives) stayed in yabaratla: it is backup-tool logic on an unsupported API. Move it here only if a second program needs it.
  • ADF rendering. yareco (internal/adf) and yamcp (internal/sanitize/adf.go) each turn Atlassian Document Format into text, with different goals (release notes vs. sanitized MCP output). A shared atlassian/adf is possible but needs both outputs compared first.
  • Confluence v2 API (/wiki/api/v2), attachments, page history: not covered; add when a consumer needs them.
  • Data Center Changelog: /issue/{key}/changelog exists on Cloud only; on Data Center the history comes from Issue(..., "changelog"). No consumer needs it yet.