issue --json: read closure data on YouTrack and Linear #668
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#668
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The same change for two trackers:
iw issue <id> --jsonprintsclosure: {"kind": "notImplemented"}for YouTrack and Linear. Forgejo implementation and closure rules:core/model/IssueState.scala,project-management/issues/IW-651/analysis.md. Deferred by Michal on 2026-10-01. Both mappings are from vendor documentation only, not tested.statefromresolved;GET /api/issues/{id}/vcsChangesgives linked PRs withstateMERGED/OPEN/DECLINEDbut no merge time. Linked merged PR →mergedPullRequest; none →unknown(the VCS integration may be absent). From vendor documentation only, not tested.statefromstate.type; a linked PR is anAttachmentwhosemetadatais integration-specific, with no promised state or merge time. Check a real attachment before design; same mapping as YouTrack (merged →mergedPullRequest, none →unknown). From vendor documentation only, not tested.Grouped on 2026-10-03 from #668 and #669 (follow-ups rule, iterative-works/dev-docs #432). Found during IW-651 (analysis).
issue --json: read closure data on YouTrackto issue --json: read closure data on YouTrack and LinearIntake: needs-input
Reason: readiness — the deferral of 2026-10-01 still holds, and the Linear attachment shape is not reachable from this machine
1. Do you want closure data for YouTrack and Linear now, or does the deferral stay?
You deferred this on 2026-10-01 because "the only consumer runs on Forgejo". That is still true:
~/ops/procedures/.iw/config.confhastype = forgejo. No later commit or comment sets a condition to resume. Your client projects (for exampleaca-services,remote-signing) use YouTrack atyoutrack.e-bs.cz. No local.iw/config.confuses Linear. Decision: https://code.iterative.works/iterative-works/iw-cli/src/branch/main/project-management/issues/IW-651/analysis.md#L206-L214notImplemented.vcsChangescontract, and question 2 is not needed. We split Linear into its own issue.Recommended: a) — No consumer reads closure data from YouTrack or Linear, and IW-666 (GitHub) and IW-667 (GitLab) are deferred for the same reason.
2. If you pick c), can you paste the metadata of one Linear attachment that links a merged PR?
The issue says to read a real attachment before design, because the content of Linear's
metadatafield depends on the integration. No Linear token or Linear project is on this machine. Run this with your token, with an issue that has a merged GitHub PR linked, and paste the output back:Recommended: b) — No local project uses Linear, so this work would serve no user.
Answer in a comment on this issue, per number, for example "1: a", or in your own words; intake reads it on its next iteration.