문제

I am currently working on a project where I will be using Mantisbt's API to integrate bugtracking features into my program, however I have hit a snag.

I used wsdl.exe to generate a c# client library.

I am trying to get the reproducibility, severity, and priority from mantis (preferably in an ObjectRef array) to display it to the end-user so that they may select it from a drop down list. I managed to get the categories using the following line:

this.connector.mc_project_get_categories(username,password,projectid);

However, there doesn't seem to be a similar line for the other fields I am looking for.

도움이 되었습니까?

해결책

I think you're looking for mc_enum_reproducibilities . This is preferred to hard-coding your own values, since the MantisBT installation may be customized to have other reproducibilities.

다른 팁

Reproducibility, severity, priority and similar fields are enumerations in the Mantis PHP files and must be hard-coded in. The values and text are found in the core/constant_inc.php file.

From these definitions you can create your own ObjectRef to pass.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top