| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package WebService::Backlog::CreateIssue; | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | # $Id$ | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 1 |  |  | 1 |  | 4 | use strict; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 29 |  | 
| 6 | 1 |  |  | 1 |  | 4 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 34 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 | 1 |  |  | 1 |  | 5 | use base qw(Class::Accessor::Fast); | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 203 |  | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | my @PARAMS = qw/ | 
| 11 |  |  |  |  |  |  | projectId summary description | 
| 12 |  |  |  |  |  |  | start_date due_date | 
| 13 |  |  |  |  |  |  | estimated_hours actual_hours | 
| 14 |  |  |  |  |  |  | issueTypeId priorityId componentId resolutionId versionId  milestoneId | 
| 15 |  |  |  |  |  |  | assignerId | 
| 16 |  |  |  |  |  |  | /; | 
| 17 |  |  |  |  |  |  |  | 
| 18 |  |  |  |  |  |  | __PACKAGE__->mk_accessors(@PARAMS); | 
| 19 |  |  |  |  |  |  |  | 
| 20 |  |  |  |  |  |  | sub hash { | 
| 21 | 0 |  |  | 0 | 0 |  | my $self = shift; | 
| 22 | 0 |  |  |  |  |  | my $hash = {}; | 
| 23 | 0 |  |  |  |  |  | for my $p (@PARAMS) { | 
| 24 | 0 | 0 |  |  |  |  | $hash->{$p} = $self->$p if ( defined $self->$p ); | 
| 25 |  |  |  |  |  |  | } | 
| 26 | 0 |  |  |  |  |  | return $hash; | 
| 27 |  |  |  |  |  |  | } | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | 1; | 
| 30 |  |  |  |  |  |  | __END__ |