@ggdna/dna-plan 0.6.1 → 0.6.2

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.
@@ -15,7 +15,7 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0x81781fe5eadedcb7"
18
+ "hash": "0xfed4541bc1745977"
19
19
  }
20
20
  ],
21
21
  "claude": {
@@ -31,7 +31,7 @@
31
31
  },
32
32
  {
33
33
  "path": ".claude/skills/plan-jira-export/SKILL.md",
34
- "hash": "0xd4d69717a1fb57af"
34
+ "hash": "0x4d1a1f22434f00fd"
35
35
  },
36
36
  {
37
37
  "path": ".claude/skills/plan-report/SKILL.md",
@@ -47,11 +47,11 @@
47
47
  },
48
48
  {
49
49
  "path": "doc/guides/jira-export-guide.md",
50
- "hash": "0x3f6c674f72a88c20"
50
+ "hash": "0x344403f04fc568a8"
51
51
  },
52
52
  {
53
53
  "path": "doc/guides/pm-repo-guide.md",
54
- "hash": "0x8ebb8a4a1ea9d9cb"
54
+ "hash": "0x0a3a1b6fe65669b1"
55
55
  },
56
56
  {
57
57
  "path": "doc/guides/report-guide.md",
@@ -30,8 +30,20 @@ Ask one question at a time and propose a default each time:
30
30
  - Sprint length — default: the one in `doc/team/people.md`, else two weeks
31
31
  - Capacity — default: the sprint length times the person's days per week;
32
32
  minus holidays, vacations and other work the user names
33
- - Jira account of the person — default: the `Jira` field in
34
- `doc/team/people.md`; ask when it is missing
33
+ - Jira name of the person — default: the `Jira` field in
34
+ `doc/team/people.md`; ask when it is missing. It is the user name on
35
+ Jira Data Center or Server, the e-mail address on Jira Cloud
36
+ - Jira — Data Center or Server, or Cloud; default: Data Center
37
+ - Jira project — the key the issues go to; default: the prefix of the
38
+ ticket keys the repo already uses
39
+ - Priorities — the names the project offers; default: `High`, `Normal`
40
+ and `Low`. Take the names exactly as Jira writes them, spaces included
41
+ - Sprint — a sprint the issues go into, by its numeric ID; default: none
42
+ - Hours per day — default: the one in `doc/team/people.md`, else 8
43
+
44
+ If a Jira connection is available, e.g. the Atlassian MCP server, read
45
+ the user names, issue types, priorities and sprints of the project from
46
+ it instead of asking for them.
35
47
 
36
48
  ## Find the open tickets
37
49
 
@@ -74,31 +86,50 @@ Ask one question at a time and propose a default each time:
74
86
  Use these columns, in this order:
75
87
 
76
88
  ```csv
77
- Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Description
78
- "Import race data",Story,High,anna@example.com,results-without-desktop-software,158400,"Goal: ...
89
+ Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Sprint,Description
90
+ "Import race data",Story,High,anna,results-without-desktop-software,158400,1840,"Goal: ...
79
91
  Requirements: req-results-002
80
92
  Steps:
81
- - ...
82
- Plan: doc/2026-Q4/tickets/2026-11-02-import-race-data.md"
93
+ * ...
94
+ Plan: {{doc/2026-Q4/tickets/2026-11-02-import-race-data.md}}"
83
95
  ```
84
96
 
85
97
  - `Summary` — the ticket title in words, not in kebab case
86
- - `Issue Type` — `Story`; `Bug` for a bug ticket
98
+ - `Issue Type` — `Story`; `Bug` for a bug ticket. Both must exist in the
99
+ project
87
100
  - `Priority` — from the highest priority of its requirements: `must` →
88
- `High`, `should` → `Medium`, `could` → `Low`
89
- - `Assignee` — the Jira account of the person
90
- - `Labels` — the goal the ticket serves, in kebab case; several labels
91
- separated by spaces
92
- - `Original Estimate` — the expected duration in seconds, eight hours per
93
- working day: 5.5 days → `158400`
101
+ the high one, `should` → the middle one, `could` → the low one of the
102
+ names agreed above
103
+ - `Assignee` — the Jira name of the person
104
+ - `Labels` — the goal the ticket serves, in kebab case without spaces.
105
+ For a second label add another column, also headed `Labels`
106
+ - `Original Estimate` — the expected duration in whole seconds: days ×
107
+ hours per day × 3600. With 8 hours, 5.5 days → `158400`; with 7.5
108
+ hours → `148500`. Jira shows it in its own length of a working day
109
+ - `Sprint` — the numeric sprint ID, never the name; leave the column out
110
+ without a sprint
94
111
  - `Description` — the goal, the requirements by ID, the steps and the
95
112
  path of the plan file; without a plan file, the line of
96
- `doc/schedule.md`
97
- - Encode in UTF-8, separate by commas, end lines with `\n`; quote every
98
- field that holds a comma, a quote or a line break, and double the
99
- quotes inside it
100
- - Tell the user how to import it: Jira → Issues → Import issues from CSV,
101
- and map the columns of the same name
113
+ `doc/schedule.md`. Jira Data Center and Server render wiki markup:
114
+ write list items as `* `, and put paths, file names and IDs with `_`
115
+ or braces into `{{…}}`
116
+ - Leave out `Issue Key`: with it Jira would update existing issues
117
+ - Encode in UTF-8 without BOM, separate by commas, end lines with `\n`;
118
+ quote every field that holds a comma, a quote or a line break, and
119
+ double the quotes inside it; give every row the same number of fields
120
+
121
+ ## Tell the user how to import it
122
+
123
+ - Jira Data Center or Server: Issues → Import Issues from CSV; it needs
124
+ the permissions to create issues and to bulk change
125
+ - Jira Cloud: Filters → Search work items → ••• → Import work items from
126
+ CSV; at most 250 work items per file
127
+ - Choose the project, the encoding UTF-8 and the comma as separator
128
+ - Map each column to the field of the same name
129
+ - Tick "Map field value" for `Priority`, `Issue Type` and `Assignee` only
130
+ when their values differ from the names in Jira; never for
131
+ `Description`, or Jira drops its line breaks
132
+ - Validate first, then import
102
133
 
103
134
  ## Take the keys back
104
135
 
@@ -181,12 +181,13 @@ root
181
181
  # People
182
182
 
183
183
  - Sprint length: 2 weeks
184
+ - Hours per day: 8
184
185
 
185
186
  ## Anna
186
187
 
187
188
  - Areas: result list, import of race data, the `timing_app` repo
188
189
  - Days per week: 4
189
- - Jira: anna@example.com
190
+ - Jira: anna
190
191
  ```
191
192
 
192
193
  - The section title is the first name; the file names of the person use
@@ -194,8 +195,12 @@ root
194
195
  - `Areas` — what the person takes care of: features, topics, repos. The
195
196
  Jira export matches tickets to people by them
196
197
  - `Days per week` — how much of the week the person works on the project
197
- - `Jira` — the account Jira knows the person by; optional
198
+ - `Jira` — the name Jira knows the person by: the user name on Jira Data
199
+ Center or Server, e.g. `anna`, the e-mail address on Jira Cloud;
200
+ optional
198
201
  - `Sprint length` — once, at the top; default two weeks
202
+ - `Hours per day` — once, at the top: the working hours of one day, used
203
+ to turn estimates in days into hours; default 8
199
204
  - Write down the roles in `doc/team/roles.md`, one section per role. Start
200
205
  with Developer, Product Owner, Management, Sales and Customer, and add
201
206
  the ones the project needs:
@@ -12,6 +12,9 @@ and work by it.
12
12
 
13
13
  - The person is required; ask for it if the user did not name one
14
14
  - Export only tickets without a Jira key, and only one sprint's worth
15
+ - Use user names, issue types, priorities and sprint IDs exactly as the
16
+ Jira project has them; read them from a Jira connection if one is
17
+ available, else ask
15
18
  - Show the matching and the sprint before writing the CSV
16
19
  - Never write the person into a ticket file
17
20
  - Write the Jira keys back only when the user asks for it after the import
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-plan",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "DNA layer: how a project is planned - the structure of a project management repo, its goals, requirements, team, reports, tickets, Jira export and quarters",
5
5
  "keywords": [
6
6
  "dna",