Kirill Bondar 9/27/2010 10:16:51 AM The integration API is quite simple - when checkin action is triggered you should send an piece of XML to the BUGtrack page. The XML has the following format: <cvs> <record id="<bug-id>" filename="file" oldversion="string" newversion="string"/> <record id="<bug-id>" filename="file" oldversion="string" newversion="string"/> ... <record id="<bug-id>" filename="file" oldversion="string" newversion="string"/> </cvs> bug-id can be extracted from comment string - we use #nnnnn format to designate bug number. oldversion and newversion attributes specify previous and new version of the file - this can be used to invoke some diff tool. We use oldversion attribute for integration with Microsoft Visual SourceSave, for CVS/Subversion integration it is always 0. After XML is formed you should send it via HTTP post request to https://yoursite.bugtrack.net/cvs.aspx?l=<license-key>You can find your license-key on License Preferences page. Feel free to use "#63" and related articles as the reference. |