From 6ecc186a9f6d1418f38b5095091568a736413920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Danyi?= Date: Fri, 25 Aug 2017 16:03:15 +0200 Subject: [PATCH] * jira work day is 8hours, not 24. fixed in blocker time calculation --- src/App/Service/JiraCollectorService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Service/JiraCollectorService.php b/src/App/Service/JiraCollectorService.php index f7c35c4..8e10f1d 100644 --- a/src/App/Service/JiraCollectorService.php +++ b/src/App/Service/JiraCollectorService.php @@ -106,7 +106,7 @@ class JiraCollectorService ? $worklog['timeSpentSeconds'] : 0; }, $jsonIssue['fields']['worklog']['worklogs']); - $kanbanEntry->setDaysBlocked(ceil($secondsBlocked/86400)); + $kanbanEntry->setDaysBlocked(ceil($secondsBlocked/28800)); // externalId : customfield_10010 if(isset($jsonIssue['fields']['customfield_10010'])) {