Subject: | JIRA::client handling of getProjectRoleActors (follow up) |
Date: | Thu, 17 Feb 2011 17:00:25 +0100 |
To: | <bug-JIRA-Client [...] rt.cpan.org> |
From: | Philippe PM MARTIN <philippe.pm.martin [...] alcatel-lucent.com> |
Hello,
I looked at this getProjectRoleActors method and I managed to make it work.
In fact, it was enough to "cast" arguments of the call with the proper
types:
foreach my $role ( @listofroles ) {
my $role2 = bless( {
'id' => SOAP::Data->type( long => $role->{'id'}),
'name' => SOAP::Data->type( string =>
$role->{'name'}),
'description' => SOAP::Data->type( string =>
$role->{'description'}),
}, 'RemoteProjectRole' );
my $remoteProjRoleActors = $jira->getProjectRoleActors($role2,
$remoteProj);
}
Hope it will save your week-end :-)
--Philippe