From f6308513658671486277e66604ac1232ef6eb2c3 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Sat, 15 Sep 2018 22:28:22 +0200 Subject: [PATCH] ADD: added epic issue type --- lib/Git/IssueManager/Issue.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Git/IssueManager/Issue.pm b/lib/Git/IssueManager/Issue.pm index bbee76c..6ab29b0 100644 --- a/lib/Git/IssueManager/Issue.pm +++ b/lib/Git/IssueManager/Issue.pm @@ -96,6 +96,8 @@ The type of the issue. Possible values are: =item I - a simple task, which should be done (please use rarely) +=item I - an epic , normally consisting out of multiple issues + =back The default values is B. @@ -106,7 +108,7 @@ has 'type' => (is => 'rw', isa => 'Str', default => 'bug', trigger => sub { die("unknown value (" . $new . ")") unless lc($new) eq "bug" || lc($new) eq "security-bug" || lc($new) eq "improvement" || lc($new) eq "feature" || - lc($new) eq "task"; + lc($new) eq "task" || lc($$new) eq "epic"; }); =attr status