ADD: enforce lowercase on priority and severity

This commit is contained in:
Dominik Meyer 2018-09-16 11:21:24 +02:00
parent ca6b2aed9e
commit 781bd7d3e9
No known key found for this signature in database
GPG Key ID: B4C312B600606B64
1 changed files with 3 additions and 3 deletions

View File

@ -490,17 +490,17 @@ sub createIssue
my $priority = $issueTree->newBlob(); my $priority = $issueTree->newBlob();
$priority->path("priority"); $priority->path("priority");
$priority->_content($self->priority); $priority->_content(lc($self->priority));
$issueTree->add($priority); $issueTree->add($priority);
my $severity = $issueTree->newBlob(); my $severity = $issueTree->newBlob();
$severity->path("severity"); $severity->path("severity");
$severity->_content($self->severity); $severity->_content(lc($self->severity));
$issueTree->add($severity); $issueTree->add($severity);
my $type = $issueTree->newBlob(); my $type = $issueTree->newBlob();
$type->path("type"); $type->path("type");
$type->_content($self->type); $type->_content(lc($self->type));
$issueTree->add($type); $issueTree->add($type);
my $last_changed = $issueTree->newBlob(); my $last_changed = $issueTree->newBlob();