I have got SVN comments posting ActiveCollab tickets working...
This is two step process as there is no API to post comment based on the ticket number
Step1 : Need to get the real_id for the ticket , you can retieve this by the ticket details using API and parse the result(json/xml) for parant_id(real_id)
You need to parse response json/xml to retrieve real_id ....
OR
SQL : select id from acx_project_objects where type='Ticket' and parent_id=0 and integer_field_1=$ticket;
I don't think SQL is right option here, but works for me..
Step2 : Use the real ID(from Step 1) for posting the comment for the ticket..
Command ""/usr/bin/curl \"http://10.10.10.1/activecollab/public/api.php?token=$token&path_info=/projects/1/comments/add&parent_id=$parent_id\" -d submitted=submitted -d comment[body]=$enccomment"
Krishna
Try activeCollab free for 30 days, No credit card required!
Instant access to activeCollab, no installation needed.
If you are already a user of activeCollab, you can log in here.