REST API - More ways to handle issues

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
AlPa
Posts: 1
Joined: 28 Jul 2022, 08:49

REST API - More ways to handle issues

Post by AlPa »

Hello,

we wanted to switch from the old SOAP API to the new REST API, as per recommendation. However I noticed that the latter doesn't have all query options. For example in SOAP you can call "mc_filter_search_issues" with your own dynamic search filter in code.

Most important for our project is the ability to find issues by the value of a custom field. According to the documentation/postman collection, for the REST API, you can only search for issue by their id. At the same time we also need to be able to retrieve additional fields like the category, project etc.

I'm wondering if there are plans to extend the REST API to allow for these kind of operations or if there is any other way to achieve the described functionality.

Does anyone else have a similar requirement? Or has any experience with this? For now it seems to be easier to just stick with the SOAP API.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: REST API - More ways to handle issues

Post by atrol »

AlPa wrote: 28 Jul 2022, 09:08 However I noticed that the latter doesn't have all query options. For example in SOAP you can call "mc_filter_search_issues" with your own dynamic search filter in code.
Known feature request, see https://mantisbt.org/bugs/view.php?id=26471
AlPa wrote: 28 Jul 2022, 09:08 for now it seems to be easier to just stick with the SOAP API.
Certainly the easiest way at the moment

Of course, it's always nice to see users contributing to MantisBT if they are interested in a new feature, e.g. https://mantisbt.org/bugs/view.php?id=26632
Please use Search before posting and read the Manual
Post Reply