437 lines
12 KiB
JSON
437 lines
12 KiB
JSON
{
|
|||
|
|
"format": "meguri/v1",
|
||
|
|
"generators": [
|
||
|
|
{
|
||
|
|
"blocks": [
|
||
|
|
{
|
||
|
|
"fields": {
|
||
|
|
"anchor": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": "2026-09-28"
|
||
|
|
},
|
||
|
|
"handover": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": "11:00"
|
||
|
|
},
|
||
|
|
"name": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": "Time off default"
|
||
|
|
},
|
||
|
|
"participants": {
|
||
|
|
"kind": "variable",
|
||
|
|
"value": [
|
||
|
|
"00000000-0000-0000-0000-000000000001",
|
||
|
|
"00000000-0000-0000-0000-000000000002",
|
||
|
|
"00000000-0000-0000-0000-000000000003"
|
||
|
|
],
|
||
|
|
"variable": "on_call"
|
||
|
|
},
|
||
|
|
"shift_days": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": 7
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "00000000-0000-0000-0000-000000000004",
|
||
|
|
"kind": "rotation"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"enabled": true,
|
||
|
|
"name": "Time off"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"blocks": [
|
||
|
|
{
|
||
|
|
"fields": {
|
||
|
|
"fallback": {
|
||
|
|
"kind": "output",
|
||
|
|
"output": [
|
||
|
|
"Time off",
|
||
|
|
"00000000-0000-0000-0000-000000000004"
|
||
|
|
],
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
"handover": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": "11:00"
|
||
|
|
},
|
||
|
|
"name": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"path": [
|
||
|
|
"name"
|
||
|
|
],
|
||
|
|
"suffix": " daytime primary",
|
||
|
|
"value": "New First available"
|
||
|
|
},
|
||
|
|
"participants": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"path": [
|
||
|
|
"primary"
|
||
|
|
],
|
||
|
|
"value": [
|
||
|
|
"00000000-0000-0000-0000-000000000001"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "00000000-0000-0000-0000-000000000005",
|
||
|
|
"kind": "priority"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"fields": {
|
||
|
|
"fallback": {
|
||
|
|
"kind": "output",
|
||
|
|
"output": [
|
||
|
|
"Time off",
|
||
|
|
"00000000-0000-0000-0000-000000000004"
|
||
|
|
],
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
"handover": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": "11:00"
|
||
|
|
},
|
||
|
|
"name": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"path": [
|
||
|
|
"name"
|
||
|
|
],
|
||
|
|
"suffix": " daytime secondary",
|
||
|
|
"value": "New First available"
|
||
|
|
},
|
||
|
|
"participants": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"path": [
|
||
|
|
"secondary"
|
||
|
|
],
|
||
|
|
"value": [
|
||
|
|
"00000000-0000-0000-0000-000000000001"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "00000000-0000-0000-0000-000000000006",
|
||
|
|
"kind": "priority"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"fields": {
|
||
|
|
"name": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"path": [
|
||
|
|
"name"
|
||
|
|
],
|
||
|
|
"suffix": " - daytime",
|
||
|
|
"value": "MG: { iteration[\"Item 1\"].value.name } - owners"
|
||
|
|
},
|
||
|
|
"repeat_count": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
"repeat_wait": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": 0
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "00000000-0000-0000-0000-000000000007",
|
||
|
|
"kind": "escalation",
|
||
|
|
"steps": [
|
||
|
|
{
|
||
|
|
"condition": "if-not-acked",
|
||
|
|
"delay": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
"recipient": {
|
||
|
|
"kind": "output",
|
||
|
|
"output": [
|
||
|
|
"Owners during working hours",
|
||
|
|
"00000000-0000-0000-0000-000000000005"
|
||
|
|
],
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
"team_all": false,
|
||
|
|
"user": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"condition": "if-not-acked",
|
||
|
|
"delay": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": 10
|
||
|
|
},
|
||
|
|
"recipient": {
|
||
|
|
"kind": "output",
|
||
|
|
"output": [
|
||
|
|
"Owners during working hours",
|
||
|
|
"00000000-0000-0000-0000-000000000006"
|
||
|
|
],
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
"team_all": false,
|
||
|
|
"user": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"condition": "if-not-acked",
|
||
|
|
"delay": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": 30
|
||
|
|
},
|
||
|
|
"recipient": {
|
||
|
|
"key": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
"kind": "literal",
|
||
|
|
"output": [
|
||
|
|
"Time off",
|
||
|
|
"00000000-0000-0000-0000-000000000004"
|
||
|
|
],
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
"team_all": true,
|
||
|
|
"user": false
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"conditions": [
|
||
|
|
{
|
||
|
|
"field": "tags",
|
||
|
|
"negate": false,
|
||
|
|
"operation": "contains",
|
||
|
|
"value": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"path": [
|
||
|
|
"tags"
|
||
|
|
],
|
||
|
|
"value": ""
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"field": "priority",
|
||
|
|
"negate": true,
|
||
|
|
"operation": "less-than",
|
||
|
|
"value": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "literal",
|
||
|
|
"value": "P3"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"fields": {
|
||
|
|
"escalation": {
|
||
|
|
"kind": "output",
|
||
|
|
"output": [
|
||
|
|
"Owners during working hours",
|
||
|
|
"00000000-0000-0000-0000-000000000007"
|
||
|
|
],
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
"name": {
|
||
|
|
"iteration": "Project",
|
||
|
|
"kind": "item",
|
||
|
|
"path": [
|
||
|
|
"name"
|
||
|
|
],
|
||
|
|
"suffix": " - daytime route",
|
||
|
|
"value": "New Routing rule"
|
||
|
|
},
|
||
|
|
"working": {
|
||
|
|
"kind": "literal",
|
||
|
|
"value": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"id": "00000000-0000-0000-0000-000000000008",
|
||
|
|
"kind": "route"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"enabled": true,
|
||
|
|
"iterations": [
|
||
|
|
{
|
||
|
|
"name": "Project",
|
||
|
|
"source": {
|
||
|
|
"kind": "variable",
|
||
|
|
"value": null,
|
||
|
|
"variable": "projects"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"name": "Owners during working hours"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"variables": [
|
||
|
|
{
|
||
|
|
"name": "on_call",
|
||
|
|
"node": {
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000009",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "alice@example.com"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-00000000000a",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "bob@example.com"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-00000000000b",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "carol@example.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-00000000000c",
|
||
|
|
"kind": "list",
|
||
|
|
"value": ""
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "projects",
|
||
|
|
"node": {
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-00000000000d",
|
||
|
|
"key": "name",
|
||
|
|
"kind": "text",
|
||
|
|
"value": "alpha"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-00000000000e",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "bob@example.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-00000000000f",
|
||
|
|
"key": "primary",
|
||
|
|
"kind": "list",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000010",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "alice@example.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-000000000011",
|
||
|
|
"key": "secondary",
|
||
|
|
"kind": "list",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000012",
|
||
|
|
"key": "tags",
|
||
|
|
"kind": "text",
|
||
|
|
"value": "alpha"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-000000000013",
|
||
|
|
"kind": "dictionary",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000014",
|
||
|
|
"key": "name",
|
||
|
|
"kind": "text",
|
||
|
|
"value": "beta"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000015",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "alice@example.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-000000000016",
|
||
|
|
"key": "primary",
|
||
|
|
"kind": "list",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000017",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "carol@example.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-000000000018",
|
||
|
|
"key": "secondary",
|
||
|
|
"kind": "list",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000019",
|
||
|
|
"key": "tags",
|
||
|
|
"kind": "text",
|
||
|
|
"value": "beta"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-00000000001a",
|
||
|
|
"kind": "dictionary",
|
||
|
|
"value": ""
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-00000000001b",
|
||
|
|
"key": "name",
|
||
|
|
"kind": "text",
|
||
|
|
"value": "gamma"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-00000000001c",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "alice@example.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-00000000001d",
|
||
|
|
"key": "primary",
|
||
|
|
"kind": "list",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"entries": [
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-00000000001e",
|
||
|
|
"kind": "person",
|
||
|
|
"value": "carol@example.com"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-00000000001f",
|
||
|
|
"key": "secondary",
|
||
|
|
"kind": "list",
|
||
|
|
"value": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "00000000-0000-0000-0000-000000000020",
|
||
|
|
"key": "tags",
|
||
|
|
"kind": "text",
|
||
|
|
"value": "^(gamma|project:gamma)(-[\\w-]+)?$"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-000000000021",
|
||
|
|
"kind": "dictionary",
|
||
|
|
"value": ""
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"id": "00000000-0000-0000-0000-000000000022",
|
||
|
|
"kind": "list",
|
||
|
|
"value": ""
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|