ADD: added epic issue type

This commit is contained in:
Dominik Meyer 2018-09-15 22:28:22 +02:00
parent 8e235f9245
commit f630851365
No known key found for this signature in database
GPG Key ID: B4C312B600606B64

View File

@ -96,6 +96,8 @@ The type of the issue. Possible values are:
=item I<task> - a simple task, which should be done (please use rarely) =item I<task> - a simple task, which should be done (please use rarely)
=item I<epic> - an epic , normally consisting out of multiple issues
=back =back
The default values is B<bug>. The default values is B<bug>.
@ -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" || 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 "improvement" || lc($new) eq "feature" ||
lc($new) eq "task"; lc($new) eq "task" || lc($$new) eq "epic";
}); });
=attr status =attr status