Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the JIRA-Client CPAN distribution.

Report information
The Basics
Id: 65737
Status: resolved
Priority: 0/
Queue: JIRA-Client

People
Owner: GNUSTAVO [...] cpan.org
Requestors: philippe.pm.martin [...] alcatel-lucent.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: JIRA::client handling of getProjectRoleActors
Date: Tue, 15 Feb 2011 11:52:11 +0100
To: <bug-JIRA-Client [...] rt.cpan.org>
From: Philippe PM MARTIN <philippe.pm.martin [...] alcatel-lucent.com>
Hello, first of all thanks for your wrapper around JIRA's SOAP Api, this helps a lot! My config is the following: JIRA-Client-0.25 Perl v5.10.1 Ubuntu 10.10 / kernel 2.6.35-24 To perform admin tasks and migration tasks, I need to programmatically GET/SET info via method such as getProjectRoleActors. But call to this method fails with error message: /"soapenv:Server.userException, java.lang.IllegalArgumentException: java.lang.ClassCastException@11be910"./ Example: my $jira = JIRA::Client->new($url, $user, $pass); ## Get all Role Actors for Sandbox my $proj = "SBOX"; my $remoteProj = $jira->getProjectByKey($proj); my $pr = $jira->getProjectRoles(); my @listofroles = @{$pr}; foreach my $role ( @listofroles ) { my $remoteProjRoleActors = $jira->*getProjectRoleActors*($role, $remoteProj); #print Dumper ($remoteProjRoleActors); }
Subject: Re: [rt.cpan.org #65737] JIRA::client handling of getProjectRoleActors
Date: Wed, 16 Feb 2011 07:55:29 -0200
To: bug-JIRA-Client [...] rt.cpan.org
From: Gustavo Leite de Mendonça Chaves <gnustavo [...] cpan.org>
2011/2/15 Philippe PM MARTIN via RT <bug-JIRA-Client@rt.cpan.org> Show quoted text
> Tue Feb 15 05:52:27 2011: Request 65737 was acted upon. > Transaction: Ticket created by philippe.pm.martin@alcatel-lucent.com > Queue: JIRA-Client > Subject: JIRA::client handling of getProjectRoleActors > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: philippe.pm.martin@alcatel-lucent.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65737 > >
Hi, Philippe. I'll try to have a look at this over the weekend. Gustavo.
Philippe, I've just uploaded version 0.27 on PAUSE and on http://code.google.com/p/jira-client/. I've added special casts to all methods requiring RemoteProjectRole objects, so that you original code should work correctly now. Please, give it a try and tell me if something goes wrong. Thank you very much for the report, and sorry for the delay.
Subject: Re: [rt.cpan.org #65737] JIRA::client handling of getProjectRoleActors
Date: Thu, 10 Mar 2011 14:26:57 +0100
To: "bug-JIRA-Client [...] rt.cpan.org" <bug-JIRA-Client [...] rt.cpan.org>
From: Philippe PM MARTIN <philippe.pm.martin [...] alcatel-lucent.com>
On 03/06/2011 01:01 AM, Gustavo Leite de Mendonça Chaves via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=65737> > > Philippe, I've just uploaded version 0.27 on PAUSE and on > http://code.google.com/p/jira-client/. > > I've added special casts to all methods requiring RemoteProjectRole > objects, so that you original code should work correctly now. > > Please, give it a try and tell me if something goes wrong. > > Thank you very much for the report, and sorry for the delay. >
Thanks a lot Gustavo. It works. --Philippe
It was resolved a while ago and I forgot to record it.