Adding an XML-RPC to append comments

Max Kanat-Alexander mkanat at bugzilla.org
Thu May 17 05:19:49 UTC 2007


On Thu, 17 May 2007 14:24:36 +1000 Jeff Lasslett
<jeff.lasslett at datataker.com.au> wrote:
>         Can this 'add_comment' XMLRPC be made to work easily?  Am I
>         close?  Or is there some reason why an 'add_comment' RPC is
> 	not possible at this time?

	Well, there's a reason that it's not in 3.0. We need to fix the
architecture of Bugzilla a bit and then we can make one.

>     Bugzilla::Bug->AppendComment( $bid, $uid, $params->{comment} );

	AppendComment is not a method. Just call it as a subroutine.

	By the way, did you see this bug that has a patch to do what
you want?
	
	https://bugzilla.mozilla.org/show_bug.cgi?id=355847

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla Services. And Everything Else, too.



More information about the developers mailing list