create-pmos 0.722.0 → 0.724.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +22 -34
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-insights-test.js +2 -1
- package/workspace/changelog.json +21 -2
- package/workspace/guide/layout.md +1 -1
- package/workspace/lib/headless.js +4 -0
- package/workspace/lib/jira-status.js +18 -2
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/pinned-views.css +2 -4
- package/workspace/public/pm/pinned-views.js +1 -1
- package/workspace/server.js +5 -1
- package/workspace/skills/jira-sync.skill +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.724.0",
|
|
4
4
|
"description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -34,8 +34,21 @@
|
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
36
|
{
|
|
37
|
-
"v": "0.
|
|
38
|
-
"at": "2026-11-
|
|
37
|
+
"v": "0.724.0",
|
|
38
|
+
"at": "2026-11-23T02:49:31.191Z",
|
|
39
|
+
"f": 4,
|
|
40
|
+
"prs": [
|
|
41
|
+
{
|
|
42
|
+
"n": 1601,
|
|
43
|
+
"t": "Jira reads work through the official Atlassian MCP connector",
|
|
44
|
+
"s": "Jira reads work through the official Atlassian MCP connector",
|
|
45
|
+
"k": "fix"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"v": "0.723.0",
|
|
51
|
+
"at": "2026-11-23T01:56:36.110Z",
|
|
39
52
|
"f": 4,
|
|
40
53
|
"prs": [
|
|
41
54
|
{
|
|
@@ -43,6 +56,12 @@
|
|
|
43
56
|
"t": "Pmos why coverage leaves out Closed, Cancelled and Killed records",
|
|
44
57
|
"s": "Pmos why coverage leaves out Closed, Cancelled and Killed records",
|
|
45
58
|
"k": "fix"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"n": 1600,
|
|
62
|
+
"t": "Pinned views' Unpin is the system's pm-btn (Checker V6, job #1558)",
|
|
63
|
+
"s": "Pinned views' Unpin is the system's pm-btn (Checker V6, job #1558)",
|
|
64
|
+
"k": "fix"
|
|
46
65
|
}
|
|
47
66
|
]
|
|
48
67
|
},
|
|
@@ -453,37 +472,6 @@
|
|
|
453
472
|
"k": "imp"
|
|
454
473
|
}
|
|
455
474
|
]
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"v": "0.691.0",
|
|
459
|
-
"at": "2026-11-22T09:21:12.074Z",
|
|
460
|
-
"f": 4,
|
|
461
|
-
"prs": [
|
|
462
|
-
{
|
|
463
|
-
"n": 1511,
|
|
464
|
-
"t": "Intelligence C6 at the default URL, and correct the ?dash= claim",
|
|
465
|
-
"s": "Intelligence C6 at the default URL, and correct the ?dash= claim",
|
|
466
|
-
"k": "x"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"n": 1492,
|
|
470
|
-
"t": "Subtasks at any depth, bulk move with one Undo, and the Jira epic check",
|
|
471
|
-
"s": "Subtasks at any depth, bulk move with one Undo, and the Jira epic check",
|
|
472
|
-
"k": "new"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"n": 1501,
|
|
476
|
-
"t": "Kind marks each lifecycle stage owned, watched or hidden",
|
|
477
|
-
"s": "Kind marks each lifecycle stage owned, watched or hidden",
|
|
478
|
-
"k": "new"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"n": 1503,
|
|
482
|
-
"t": "One record of every agent change, and no source, no auto (A443)",
|
|
483
|
-
"s": "One record of every agent change, and no source, no auto (A443)",
|
|
484
|
-
"k": "new"
|
|
485
|
-
}
|
|
486
|
-
]
|
|
487
475
|
}
|
|
488
476
|
]
|
|
489
477
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Eval calibration log"
|
|
4
4
|
description: "Append-only record of every PM override of an evaluator verdict."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-23T02:49:27Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Health budgets"
|
|
4
4
|
description: "Closed registry of health-budget anchors (D59), edited only by the PM."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-23T02:49:27Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Discoveries and friction log"
|
|
4
4
|
description: "Append-only record of what runs discovered and where the process rubbed."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-11-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-23T02:49:27Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -438,7 +438,8 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
|
|
|
438
438
|
ok('L1 Reports and dashboards opens as a side panel from ⋯ with no + (U3: the bar\'s report icon is the one starter), and Found in your work holds the finding as a card', lb.side && !lb.nr && lb.found === 'Found in your work · 1' && lb.fcards === 'f-1:Set it up/Not a report' && lb.cap === '9' && !lb.old, JSON.stringify(lb));
|
|
439
439
|
ok('L1 the reports table is Report, Next and Status (what needs you first, redesign A); a draft says "Draft ready for" its date; a request says Working; a ready proposal waits in Needs you (redesign R)', lb.heads === 'Report|Next|Status' && /Draft ready for Oct 14/.test(lb.rows) && /Partner update\|First draft [^|]+\|Runs every other monday/i.test(lb.rows) && /(^|\|)Churn for finance(\||$)/.test(lb.needs) && lb.setups === 1 && lb.asks === 2, JSON.stringify([lb.rows, lb.needs]));
|
|
440
440
|
ok('L1 dashboards are cards; only the pinned one carries the pin', lb.cards === 'all*,pd-1,p:Growth,p:Reliability', lb.cards);
|
|
441
|
-
|
|
441
|
+
// posts only: the Viewer's GET /api/report-setups/storyline can land after a press and became the "last" call (CI race on PR #1600)
|
|
442
|
+
const rs = []; await q.route('**/api/report-setups/*', (r) => { if (r.request().method() === 'POST') rs.push([new URL(r.request().url()).pathname.replace('/api/report-setups/', ''), JSON.parse(r.request().postData() || '{}')]); r.fulfill({ contentType: 'application/json', body: '{"ok":true,"drafted":{"slot":"2026-10-23","path":"planning/reports/x/2026-10-23.md"}}' }); });
|
|
442
443
|
const lastRs = () => rs[rs.length - 1] || [null, {}];
|
|
443
444
|
await q.click('#listRows [data-f="f-1"] [data-fx="open"]'); const s1 = await until(() => vw(q));
|
|
444
445
|
ok('L2 a finding opens what PMOS found, with why, its evidence and the report it would set up, and no "Waiting for design"', s1 && !s1.wait && s1.title === 'Release readiness' && /3 times in 6 weeks/.test(s1.text) && /The report it would set up/.test(s1.text), JSON.stringify(s1));
|
package/workspace/changelog.json
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"v": "0.
|
|
4
|
-
"at": "2026-11-
|
|
3
|
+
"v": "0.724.0",
|
|
4
|
+
"at": "2026-11-23T02:49:31.191Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1601,
|
|
9
|
+
"t": "Jira reads work through the official Atlassian MCP connector",
|
|
10
|
+
"s": "Jira reads work through the official Atlassian MCP connector",
|
|
11
|
+
"k": "fix"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"v": "0.723.0",
|
|
17
|
+
"at": "2026-11-23T01:56:36.110Z",
|
|
5
18
|
"f": 4,
|
|
6
19
|
"prs": [
|
|
7
20
|
{
|
|
@@ -9,6 +22,12 @@
|
|
|
9
22
|
"t": "Pmos why coverage leaves out Closed, Cancelled and Killed records",
|
|
10
23
|
"s": "Pmos why coverage leaves out Closed, Cancelled and Killed records",
|
|
11
24
|
"k": "fix"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"n": 1600,
|
|
28
|
+
"t": "Pinned views' Unpin is the system's pm-btn (Checker V6, job #1558)",
|
|
29
|
+
"s": "Pinned views' Unpin is the system's pm-btn (Checker V6, job #1558)",
|
|
30
|
+
"k": "fix"
|
|
12
31
|
}
|
|
13
32
|
]
|
|
14
33
|
},
|
|
@@ -100,7 +100,7 @@ On a computer, Work is built from the parts of the PMOS design system. The top l
|
|
|
100
100
|
- **Initiatives.** A table with the columns you choose (the tune icon also sorts and filters). Press a column heading to sort by it. The timeline shows done in green, now in blue and planned in grey, with a red line for today. A milestone is a diamond on its initiative's row; a late one is red. Milestones less than 8 days apart are one numbered diamond: point at it to see them. Pick the scale with **Week**, **Month**, **Quarter**, **Year** or **Full**. Move the timeline with the arrows, with a sideways swipe on a trackpad, or by dragging it; the middle arrow goes back to today. A late date has a red badge, for example "8 days late". Closed initiatives fold into one line at the end.
|
|
101
101
|
- **Next milestones.** The next ten milestones of all initiatives on one line, each with its date, its name and its initiative. The line has its own time range, apart from the table: it starts at today (or at a milestone that became late in the last 30 days) and ends at the last of the ten, so they all show across the full width without scrolling. Labels never cover each other: a label that is too close moves down a row, and a label near the right end reads to the left of its diamond. Scroll sideways on the line (or drag it) to move only the line. A milestone outside the line is in a **+N** mark at the end: press it to move the line there. After the line moves, the button at the top right puts it back at today. Press a diamond to open the milestone.
|
|
102
102
|
|
|
103
|
-
**Pinned views.** When a filter is on, the line "Showing …" over the table has a pin button. Press it to keep the filter as a view, named by what it shows (for example "Blocked · Acme, Globex"). Pinned views sit after the products at the top. Press one to open it: it replaces the filter that is on.
|
|
103
|
+
**Pinned views.** When a filter is on, the line "Showing …" over the table has a pin button. Press it to keep the filter as a view, named by what it shows (for example "Blocked · Acme, Globex"). Pinned views sit after the products at the top. Press one to open it: it replaces the filter that is on. Press × beside a view to unpin it, with **Undo**. When you use the same filter a third time, PMOS suggests pinning it: ✓ pins it, ✕ means PMOS does not suggest that filter again. Pinned views follow you to your other browsers, as your other view choices do.
|
|
104
104
|
|
|
105
105
|
**Backlog** is the open work outside the sprint, in one rank across initiatives.
|
|
106
106
|
|
|
@@ -278,6 +278,10 @@ const CONNECTOR_READ_SEED = Object.freeze([
|
|
|
278
278
|
'getJiraIssueTypeMetaWithFields', 'getJiraIssueRemoteIssueLinks', 'getTransitionsForJiraIssue', 'lookupJiraAccountId',
|
|
279
279
|
'getConfluencePage', 'getConfluenceSpaces', 'getPagesInConfluenceSpace', 'getConfluencePageDescendants', 'getConfluencePageFooterComments',
|
|
280
280
|
'getConfluencePageInlineComments', 'searchConfluenceUsingCql', 'search', 'fetch'].map((t) => 'mcp__claude_ai_Atlassian__' + t),
|
|
281
|
+
// The official Atlassian MCP connector (2026-11-23) is named "Atlassian MCP", so Claude Code names its tools `mcp__claude_ai_Atlassian_MCP__…`
|
|
282
|
+
// and has fewer, broader ones. Both prefixes are seeded: a PM may have either connector, and an unknown name is harmless.
|
|
283
|
+
...['getAccessibleAtlassianResources', 'searchJiraIssuesUsingJql', 'getJiraIssue', 'listJiraIssueComments', 'getConfluenceContent',
|
|
284
|
+
'searchConfluence', 'search'].map((t) => 'mcp__claude_ai_Atlassian_MCP__' + t),
|
|
281
285
|
...['slack_read_channel', 'slack_read_thread', 'slack_read_canvas', 'slack_read_user_profile', 'slack_search_public', 'slack_search_public_and_private',
|
|
282
286
|
'slack_search_channels', 'slack_search_users', 'slack_list_user_channels'].map((t) => 'mcp__claude_ai_Slack__' + t),
|
|
283
287
|
...['list_events', 'get_event', 'search_events', 'list_calendars'].map((t) => 'mcp__claude_ai_Google_Calendar__' + t),
|
|
@@ -215,7 +215,7 @@ function subsOf(v) {
|
|
|
215
215
|
}
|
|
216
216
|
/** https://site.atlassian.net/rest/api/3/issue/10001 → https://site.atlassian.net/browse/KEY */
|
|
217
217
|
function urlOf(x, key) {
|
|
218
|
-
const raw = isStr(x.url) ? x.url : isStr(x.self) ? x.self : '';
|
|
218
|
+
const raw = isStr(x.url) ? x.url : isStr(x.webUrl) ? x.webUrl : isStr(x.self) ? x.self : '';
|
|
219
219
|
let u;
|
|
220
220
|
try { u = new URL(raw); } catch { return null; }
|
|
221
221
|
if (u.protocol !== 'https:') return null;
|
|
@@ -241,12 +241,28 @@ function whoWhen(a, up) {
|
|
|
241
241
|
const t = Date.parse(isStr(up) ? up : '');
|
|
242
242
|
return { ...(name ? { assignee: name } : {}), ...(Number.isFinite(t) ? { updated: new Date(t).toISOString() } : {}) };
|
|
243
243
|
}
|
|
244
|
+
/** The official Atlassian MCP connector returns custom fields under `fields.customFields`, keyed by name: { Sprint: { id: 'customfield_10004',
|
|
245
|
+
* value: [...] } }. They are put back at the top level under their id and their name, as the REST shape has them, so the sprint, points
|
|
246
|
+
* and flag rules read them. A field already at the top level wins. */
|
|
247
|
+
function flatCustom(f) {
|
|
248
|
+
const c = f.customFields;
|
|
249
|
+
if (!c || typeof c !== 'object' || Array.isArray(c)) return f;
|
|
250
|
+
const out = { ...f };
|
|
251
|
+
for (const [name, e] of Object.entries(c)) {
|
|
252
|
+
const has = e && typeof e === 'object' && !Array.isArray(e) && 'value' in e;
|
|
253
|
+
const v = has ? e.value : e;
|
|
254
|
+
if (has && isStr(e.id) && /^customfield_\d+$/.test(e.id) && !(e.id in out)) out[e.id] = v;
|
|
255
|
+
if (!(name in out)) out[name] = v;
|
|
256
|
+
}
|
|
257
|
+
delete out.customFields;
|
|
258
|
+
return out;
|
|
259
|
+
}
|
|
244
260
|
function normalizeIssue(x) {
|
|
245
261
|
if (!x || typeof x !== 'object') return null;
|
|
246
262
|
const key = oneLine(x.key).toUpperCase();
|
|
247
263
|
if (!KEY_RE.test(key)) return null;
|
|
248
264
|
if (x.fields && typeof x.fields === 'object') {
|
|
249
|
-
const f = x.fields;
|
|
265
|
+
const f = flatCustom(x.fields);
|
|
250
266
|
const summary = clip(oneLine(f.summary), 250);
|
|
251
267
|
if (!summary) return null;
|
|
252
268
|
const st = f.status || {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.724.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pmos-workspace",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.724.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* pm/pinned-views.css — pinned filter views beside the product switcher (bet A395, initiative pinned-filter-views; pm/pinned-views.js).
|
|
2
|
-
* Design-system parts carry the look (pm-chip, pm-btn, pm-sug); this places them. Tokens only. */
|
|
2
|
+
* Design-system parts carry the look (pm-chip, pm-btn, pm-sug, pm-ic); this places them and mutes Unpin's icon. Tokens only. */
|
|
3
3
|
.pvw-host:empty { display: none; }
|
|
4
4
|
.pvw { display: inline-flex; align-items: center; gap: var(--space-4); overflow-x: auto; scrollbar-width: none; max-width: 48vw; }
|
|
5
5
|
.pvw::-webkit-scrollbar { display: none; }
|
|
@@ -7,11 +7,9 @@
|
|
|
7
7
|
.pvw-b { border: 0; cursor: pointer; color: var(--cz-ink); white-space: nowrap; }
|
|
8
8
|
.pvw-b:focus-visible { background: var(--cz-bluebg); }
|
|
9
9
|
.pvw-b[aria-pressed="true"] { background: var(--cz-bluebg); color: var(--cz-blue); }
|
|
10
|
-
.pvw-x {
|
|
11
|
-
.pvw-x:focus-visible { background: var(--cz-well); }
|
|
10
|
+
.pvw-x { color: var(--cz-ink3); }
|
|
12
11
|
.pvw-pin { margin-left: var(--space-4); }
|
|
13
12
|
.pvw-sug { margin: var(--space-8) 0; }
|
|
14
13
|
@media (hover: hover) {
|
|
15
14
|
.pvw-b:hover { background: var(--cz-bluebg); }
|
|
16
|
-
.pvw-x:hover { background: var(--cz-well); }
|
|
17
15
|
}
|
|
@@ -111,7 +111,7 @@ const STAR = '<svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24
|
|
|
111
111
|
export function pinsHtml(pins, curSig) {
|
|
112
112
|
if (!pins || !pins.length) return '';
|
|
113
113
|
const items = pins.map((p) => `<span class="pvw-i"><button type="button" data-pvw="${esc(p.id)}" class="pm-chip pvw-b" aria-pressed="${p.sig === curSig}" title="${esc('Open the view: ' + p.name)}">${esc(p.name)}</button>`
|
|
114
|
-
+ `<button type="button" data-pvwx="${esc(p.id)}" class="pvw-x" aria-label="${esc('Unpin ' + p.name)}" title="${esc('Unpin ' + p.name)}">${icon(X)}</button></span>`).join('');
|
|
114
|
+
+ `<button type="button" data-pvwx="${esc(p.id)}" class="pm-btn pvw-x" aria-label="${esc('Unpin ' + p.name)}" title="${esc('Unpin ' + p.name)}">${icon(X)}</button></span>`).join('');
|
|
115
115
|
return `<div class="pvw" role="group" aria-label="Pinned views">${items}</div>`;
|
|
116
116
|
}
|
|
117
117
|
|
package/workspace/server.js
CHANGED
|
@@ -4754,11 +4754,15 @@ function knownConnectorTools(env) {
|
|
|
4754
4754
|
const seen = all[connectorHome(env)];
|
|
4755
4755
|
return [...headlessLib.CONNECTOR_READ_SEED, ...(seen && Array.isArray(seen.tools) ? seen.tools : [])];
|
|
4756
4756
|
}
|
|
4757
|
+
// Learned tools are ADDED to what this home already had, never replace it (fix 2026-11-23): a connector still loading when a run starts is
|
|
4758
|
+
// missing from that run's init line, and replacing the list then refused its tools in the next run (Jira, Figma and Wispr on the Mac).
|
|
4759
|
+
// A tool name the login no longer has is harmless in --allowedTools.
|
|
4757
4760
|
function learnConnectorTools(env, tools) {
|
|
4758
|
-
const reads = headlessLib.connectorReads(tools);
|
|
4759
4761
|
try {
|
|
4760
4762
|
let all = {}; try { all = JSON.parse(fs.readFileSync(CONNECTOR_TOOLS_FILE, 'utf8')) || {}; } catch { /* first one */ }
|
|
4761
4763
|
const home = connectorHome(env);
|
|
4764
|
+
const had = all[home] && Array.isArray(all[home].tools) ? all[home].tools : [];
|
|
4765
|
+
const reads = headlessLib.connectorReads([...had, ...(Array.isArray(tools) ? tools : [])]);
|
|
4762
4766
|
if (all[home] && JSON.stringify(all[home].tools) === JSON.stringify(reads)) return;
|
|
4763
4767
|
all[home] = { at: nowISO(), tools: reads };
|
|
4764
4768
|
fs.mkdirSync(path.dirname(CONNECTOR_TOOLS_FILE), { recursive: true });
|
|
@@ -25,7 +25,7 @@ Procedure:
|
|
|
25
25
|
0. Ask first, when the task names no initiative. Run `pmos refresh since jira`. If it says "read in full", go to step 1. If it says "ask first", note the number of minutes it prints. Run `pmos jira query` and `pmos jira query --sprints`, and run each search they print with ` AND updated >= -<minutes>m` added (put the search in brackets first), asking only for the key field and one result. If no search returns an issue, run `pmos refresh same jira`, finish with "Checked: no change in Jira in the last <minutes> minutes", and stop. If any search returns an issue, or a search fails, go to step 1 and read in full.
|
|
26
26
|
0a. One sprint, when the task names it ("This check: sprint …"): the PM asked PMOS to read a closed sprint it never saw. Run `pmos jira query --sprint "<the sprint's name>"`, run that search with the fields of step 2, fetch every page, save the result in the scratch folder in the shape of step 3, run `pmos jira sync --sprint "<the sprint's name>" --from <the file>`, finish with "Checked: <the sprint's name>, <N> tickets kept", and stop. Do nothing else in that run.
|
|
27
27
|
1. If the task names one initiative ("This check: initiative …"), check that one only: run `pmos jira query <initiative>`. Otherwise run `pmos jira query`: each line is an initiative id, a tab and the Jira search (JQL) to run for it. An initiative PMOS pushed no ticket for, but which is linked to Jira epics, gets a search for those epics and the issues under them. An initiative whose tasks start with a Jira key (tasks imported from Jira, such as "IDPF-2746 · Send verification email") gets those tickets in its search too: PMOS sets each task's state from what you read. If no initiative has a ticket or an epic in Jira, say so in one line and stop.
|
|
28
|
-
2. For each initiative, run its search with the Jira search tool and the fields in rule 3, at most 50 issues per page. The sprint is a custom field named "Sprint" whose id differs per site (often `customfield_10020`, on some sites `customfield_10004`). If the first page comes back with no Sprint field, ask once for every field of one issue (`*all`), find the field whose value is a list of sprints (each with a name and a state), and ask for that id from then on. Story points are also a custom field, named "Story Points" or "Story point estimate" (often `customfield_10016`); ask for it by name. Fetch every page.
|
|
28
|
+
2. For each initiative, run its search with the Jira search tool and the fields in rule 3, at most 50 issues per page. The sprint is a custom field named "Sprint" whose id differs per site (often `customfield_10020`, on some sites `customfield_10004`). If the first page comes back with no Sprint field, ask once for every field of one issue (`*all`), find the field whose value is a list of sprints (each with a name and a state), and ask for that id from then on. Story points are also a custom field, named "Story Points" or "Story point estimate" (often `customfield_10016`); ask for it by name. With the Atlassian MCP connector, name the fields in `fields`, use the `full` view, and save the result as it comes back: it puts custom fields under `fields.customFields`, and `pmos` reads them there. Fetch every page.
|
|
29
29
|
3. Save the result as JSON in the scratch folder, for example `<scratch>/jira-<initiative>.json`, as a list with one object per issue:
|
|
30
30
|
`{"key", "summary", "status", "category", "type", "parent", "sprint", "subtasks", "points", "resolved", "flagged", "reason", "url"}`
|
|
31
31
|
- `type`: the issue type's name, for example `Epic`, `Story`, `Task` or `Bug`.
|