From: Robert M. <rob...@gm...> - 2012-02-15 11:57:52
|
On Wed, Feb 15, 2012 at 1:44 PM, Manilal K M <ma...@ej...> wrote: > Hello all, > > We have a custom application developed on Zend Framework which is integrated with MantisBT through SOAP API. Each user in the custom application is also an user in Mantis and the user should be able to retrieve all the issues reported by him. > > Currently I'm using mc_project_get_issues which fetch the latest 100 issues and then filter it based on the reporter_name. The problem with this approach is that older issues will not be displayed in the list. We have over 300 issues for this project in mantis. > > Is there any SOAP-API which can retrieve all the issues for a selected project by reporter? Is it possible to add custom SOAP functions without tampering the current API? > > Please let me know your suggestions. > > regards > Manilal Hi Manilal, For the time being, you can use the page_number and per_page parameters for mc_project_get_issues . So you can call mc_project_get_issues(user, pass, project_id, 1, 100 ); mc_project_get_issues(user, pass, project_id, 2, 100 ); mc_project_get_issues(user, pass, project_id, 3, 100 ); etc, until you go through all the issues. As for adding custom functions, that's not yet possible . However, there is a very much work-in-progress effort for adding custom search to the SOAP API https://github.com/rombert/mantisbt/tree/soap-custom-filters , if the above solution is not right for you. If you're interested in contributing to that, let me know. Cheers, Robert > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > mantisbt-dev mailing list > man...@li... > https://lists.sourceforge.net/lists/listinfo/mantisbt-dev -- Sent from my (old) computer |