Upload bug report data to MantisBT CustomFields?
Posted: Sat Oct 20, 2018 7:56 pm
Hi, Mathias:
Recently added ability to send the bug report to MantisBT and would like to use the ExceptionHandler to fill some information that would in turn be used to fill the MantisBT Custom Fields (User Name, Bug Type--for starters: Program, Database) to help with sorting the bugs at MantisBT).
I can see that adding a Custom Field to MantisBT is pretty easy and so is generating the information I want in the ExceptionHandler, but how does one actually upload the information?
I understand that SOAP is used for the other madExcept information uploaded.
It looks like madExcept does that here:
function TWinHttp.UploadBugToMantis
and it would be in this routine that I would add a separate routine to upload the data to the custom fields in MantisBT, yes?
I see that you are using mc_issue_add to add the bug and its basic information. Off hand do you know if this would upload/add the custom field data, too? Or, is there a separate PHP call to add the custom field data?
Depending on your answer, I will also post this question at the MantisBT forum. When searching I see that others have asked the question, but do not see an answer.
I did find this PHP source:
https://github.com/mantisbt/mantisbt/bl ... ld_api.php
but I am not clear if this is something I would use or not. Using PHP is new to me, along with using the MantisBT site.
Any help or direction is appreciated!
Thank you,
Chuck
Recently added ability to send the bug report to MantisBT and would like to use the ExceptionHandler to fill some information that would in turn be used to fill the MantisBT Custom Fields (User Name, Bug Type--for starters: Program, Database) to help with sorting the bugs at MantisBT).
I can see that adding a Custom Field to MantisBT is pretty easy and so is generating the information I want in the ExceptionHandler, but how does one actually upload the information?
I understand that SOAP is used for the other madExcept information uploaded.
It looks like madExcept does that here:
function TWinHttp.UploadBugToMantis
and it would be in this routine that I would add a separate routine to upload the data to the custom fields in MantisBT, yes?
I see that you are using mc_issue_add to add the bug and its basic information. Off hand do you know if this would upload/add the custom field data, too? Or, is there a separate PHP call to add the custom field data?
Depending on your answer, I will also post this question at the MantisBT forum. When searching I see that others have asked the question, but do not see an answer.
I did find this PHP source:
https://github.com/mantisbt/mantisbt/bl ... ld_api.php
but I am not clear if this is something I would use or not. Using PHP is new to me, along with using the MantisBT site.
Any help or direction is appreciated!
Thank you,
Chuck