Skip to content

Commit

Permalink
Only add epic if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppekroghitk committed Jan 3, 2025
1 parent 6c3b17a commit 4376bad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Service/JiraApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,9 @@ public function getIssuesDataForProjectPaged(string $projectId, $startAt = 0, $m
$this->epicRepository->save($epic);
}

$issueData->epics->add($epic);
if ($epic) {
$issueData->epics->add($epic);
}
}

foreach ($fields->fixVersions ?? [] as $fixVersion) {
Expand Down

0 comments on commit 4376bad

Please sign in to comment.