create Comment over WebService and set author

Description
mberhorst
Posts: 15
Joined: Wed Mar 03, 2010 9:46 am

create Comment over WebService and set author

Postby mberhorst » Mon Aug 09, 2010 3:43 pm

Hello everybody,

is it possible to set the author after the creation of a work item comment?

I have the following problem:
Via an Oracle ApEx application we want to add comments to work items.
Our own Polarion webservice interface use the Polarion Java webservice API.
The webservice uses for the Polarion login only one Polarion user.
All comments would be created from that user.
When an user from the ApEx applicatione adds a comment via the webservice, then he is not the author of the comment.

I tried to use the setAuthor() method and to update the work item after that.
But this is not working.


Thank you in advance.

Best regards
Michael

SorrowEyes
Posts: 16
Joined: Fri Nov 05, 2010 6:57 pm

Re: create Comment over WebService and set author

Postby SorrowEyes » Mon Jun 27, 2011 10:29 pm

Yes you can create comments over webservice. Check out the API under Tracker Service. I am not sure if you can set the author though.

engeleb
Posts: 199
Joined: Wed Aug 09, 2006 10:55 am

Re: create Comment over WebService and set author

Postby engeleb » Tue Jun 28, 2011 6:18 pm

Changing the author of a comment is not possible via web services.
The easiest solution woul be to just mention the real author in the title of the comment.
If you really want to change the author you can either directly modify the XML in SVN or implement a servlet ( see SDK) that exposes a possibility to change cthe author.


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 6 guests