From c7c1a2e86b78b976802374d1af788afcd17359c7 Mon Sep 17 00:00:00 2001 From: Marc Reichel Date: Mon, 15 Aug 2022 18:44:22 +0200 Subject: [PATCH] feat(): Add mantis ticket id to issue title --- src/Dto/GithubIssue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dto/GithubIssue.php b/src/Dto/GithubIssue.php index 8b3ca0e..7082a88 100644 --- a/src/Dto/GithubIssue.php +++ b/src/Dto/GithubIssue.php @@ -28,7 +28,7 @@ public static function fromMantisIssue(MantisIssue $issue): GithubIssue ]; $table = implode(PHP_EOL, $rows); return new self( - title: '[' . $issue->getProject() . '] ' . $issue->getSummary(), + title: '[MANTIS-' . $issue->getId() . '] [' . $issue->getProject() . '] ' . $issue->getSummary(), description: $issue->getDescription() . PHP_EOL . PHP_EOL . $table, ); }