Project Zero G Forums Forum Index
Author Message
<  General  ~  SOAP API to create a private issue
gabrielantonio
PostPosted: Mon Jun 11, 2018 9:51 am  Reply with quote
Knowlege Seeker


Joined: 10 Mar 2018
Posts: 9

Hi,

I am using SOAP API to create an issue as /api/soap/mantisconnect.php?wsdl indicates.Everything works fine with operation: mc_issue_add except when I tried to set the issue view status to private by setting view_state (id - optional) to 50 or (name - optional) to "private"I am using ruby and savon gem, so the code is like
response = @client.call(:mc_issue_add, message: { username: admin, password: root, \
issue: { project: { name: 'test' }, category: 'general', summary: 'summary', view_state: { id: 50, name: 'private' }, \
description: 'description', handler: { name: 'admin' } } })
The code can generate a ticket , but the view status remains public. I also tried mc_issue_update which does not work too.
Can someone help me with this please?

Any help will be apprecited.

I didn't find the right solution from the Internet.

References:
https://mantisbt.org/forums/viewtopic.php?t=24469
Clean Energy Video

Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
All times are GMT - 5 Hours

View next topic
View previous topic
Page 1 of 1
Project Zero G Forums Forum Index  ~  General

Post new topic   Reply to topic


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB and Ad Infinitum v1.06