From cfca239c386aefb66e73194f47c61c028be762c4 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 29 Jul 2026 19:05:40 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=8D=D0=BF=D0=B8=D0=BA=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=B8=D0=B7=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=20=D0=B2=20=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=D0=BD=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/postgres/init/002_dump.sql | 2 ++ src/console/calculate_sprint_completion.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/postgres/init/002_dump.sql b/docker/postgres/init/002_dump.sql index e5edf49..62e7ba4 100644 --- a/docker/postgres/init/002_dump.sql +++ b/docker/postgres/init/002_dump.sql @@ -72,6 +72,7 @@ VALUES (72, 'Василий Шевлоков', 'v.shevlokov', 'frontend'), (73, 'Кирилл Кетов', 'k.ketov', 'qa'), (74, 'Илья Шленский', 'i.shlenskiy', 'qa'), + (75, 'Алексей Рясский', 'a.ryasskiy', 'backend'), -- bryansk (50, 'Анастасия Абрамчук', 'a.abramchuk', 'designer'), @@ -157,6 +158,7 @@ VALUES (1, 72, '2026-06-20 00:00:00Z'), (1, 73, '2026-06-20 00:00:00Z'), (1, 74, '2026-06-20 00:00:00Z'), + (1, 75, '2026-07-01 00:00:00Z'), -- bryansk (4, 50, '2026-01-01 00:00:00Z'), diff --git a/src/console/calculate_sprint_completion.php b/src/console/calculate_sprint_completion.php index 39ce58d..bd0e584 100644 --- a/src/console/calculate_sprint_completion.php +++ b/src/console/calculate_sprint_completion.php @@ -428,7 +428,7 @@ foreach ($sprints as $sprint) { $sprintsByJiraId[(int)$sprint['jira_sprint_id']][] = $sprint; } -$standardTypesJql = 'issuetype in standardIssueTypes()'; +$standardTypesJql = 'issuetype in standardIssueTypes() and issuetype != Epic'; foreach ($sprintsByJiraId as $jiraSprintId => $sprintRows) { write_log("=== Спринт jira_sprint_id={$jiraSprintId} ===", $needLog);