diff --git a/src/App/Service/JiraCollectorService.php b/src/App/Service/JiraCollectorService.php index 4fb31e1..ed36cb5 100644 --- a/src/App/Service/JiraCollectorService.php +++ b/src/App/Service/JiraCollectorService.php @@ -230,7 +230,10 @@ class JiraCollectorService } // epicName: has parent, and parent has customfield_10001 - if (isset($jsonIssue['fields']['parent'])) { + if (isset($jsonIssue['fields']['customfield_10001'])) { + $epicName = $this->getEpicNameFromParent($jsonIssue['key']); + $kanbanEntry->setEpicName($epicName); + } elseif (isset($jsonIssue['fields']['parent'])) { $epicName = $this->getEpicNameFromParent($jsonIssue['fields']['parent']['key']); $kanbanEntry->setEpicName($epicName); }