Commit cc9e569
committed
Migrate board columns to workflow stages
Teamwork retired the Boards endpoints after migrating installations to
Workflows, so the BOARD_COLUMN_* feature broke with "Boards endpoints are
now unavailable, please use Workflows endpoints" (#68).
Resolve the configured stage name to its workflow + stage IDs in a single
v3 call (GET /projects/api/v3/workflows.json?projectIds=&include=stages),
then move the task with PATCH /projects/api/v3/tasks/{id}/workflows/{wf}.json.
The null-guarded jq also fixes the "Cannot iterate over null" crash.
Rename the BOARD_COLUMN_* inputs to WORKFLOW_STAGE_*, keeping the old names
as silent fallback aliases.1 parent 4c9fc4e commit cc9e569Copy full SHA for cc9e569
5 files changed
+79-51Lines changed: 79 additions & 51 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .github/workflows
- src
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
21 | | - |
22 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
Collapse file
+8-8Lines changed: 8 additions & 8 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
52 | | - |
53 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
54 | 54 | |
55 | 55 | |
56 | 56 | |
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
78 | 78 | |
79 | | - |
| 79 | + |
80 | 80 | |
81 | 81 | |
82 | 82 | |
|
Collapse file
+23-8Lines changed: 23 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | | - |
| 19 | + |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
| 23 | + |
| 24 | + |
25 | 25 | |
26 | 26 | |
27 | | - |
28 | | - |
| 27 | + |
| 28 | + |
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
35 | 47 | |
36 | 48 | |
37 | 49 | |
| ||
40 | 52 | |
41 | 53 | |
42 | 54 | |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
43 | 59 | |
44 | 60 | |
45 | | - |
46 | | - |
| 61 | + |
Collapse file
+13-3Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
21 | | - |
22 | | - |
| 20 | + |
| 21 | + |
| 22 | + |
23 | 23 | |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
24 | 34 | |
25 | 35 | |
26 | 36 | |
|
Collapse file
+32-29Lines changed: 32 additions & 29 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
38 | 42 | |
39 | 43 | |
40 | 44 | |
41 | 45 | |
42 | | - |
| 46 | + |
43 | 47 | |
44 | 48 | |
45 | 49 | |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
56 | 57 | |
57 | 58 | |
58 | | - |
59 | | - |
60 | | - |
| 59 | + |
| 60 | + |
61 | 61 | |
62 | | - |
63 | | - |
| 62 | + |
| 63 | + |
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
68 | | - |
69 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | 72 | |
| 73 | + |
| 74 | + |
| 75 | + |
73 | 76 | |
74 | | - |
| 77 | + |
75 | 78 | |
76 | 79 | |
77 | 80 | |
78 | | - |
| 81 | + |
79 | 82 | |
80 | 83 | |
81 | | - |
| 84 | + |
82 | 85 | |
83 | 86 | |
84 | 87 | |
| ||
165 | 168 | |
166 | 169 | |
167 | 170 | |
168 | | - |
| 171 | + |
169 | 172 | |
170 | 173 | |
171 | 174 | |
| ||
186 | 189 | |
187 | 190 | |
188 | 191 | |
189 | | - |
| 192 | + |
190 | 193 | |
191 | 194 | |
192 | 195 | |
| ||
198 | 201 | |
199 | 202 | |
200 | 203 | |
201 | | - |
| 204 | + |
202 | 205 | |
203 | 206 | |
204 | 207 | |
|
0 commit comments