ADD: added parsing of working and estimated time

This commit is contained in:
Dominik Meyer 2018-07-04 11:07:46 +02:00
parent 552e304c0e
commit a25e9b2c1e
No known key found for this signature in database
GPG Key ID: B4C312B600606B64

View File

@ -320,6 +320,8 @@ sub _to_issue
$issue->description($self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/description"))); $issue->description($self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/description")));
$issue->comment($self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/comment"))); $issue->comment($self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/comment")));
$issue->id($self->repository->getBlob($self->repository->getFileRef("issues",".tag")) . "-" . substr($i->{ref},0,8)); $issue->id($self->repository->getBlob($self->repository->getFileRef("issues",".tag")) . "-" . substr($i->{ref},0,8));
$issue->estimated_time($self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/estimated")));
$issue->working_time($self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/working")));
my $worker = $self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/worker")); my $worker = $self->repository->getBlob($self->repository->getFileRef("issues",$i->{path}."/worker"));
if (defined($worker)) if (defined($worker))