View Issue Details

IDProjectCategoryView StatusLast Update
0008657mantisbtapi soappublic2015-03-15 19:58
Reportermwietscher Assigned Tocommunity  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.1.0rc3 
Target Version1.3.0-beta.2Fixed in Version1.3.0-beta.2 
Summary0008657: SOAP API support for custom filters
Description

it would be real nice to send a structure with the filter elements of the advanced filter (reporter, category, handler, status, severity etc) to soap api and get returned the matching issues

this would eg enable full text search etc.

TagsNo tags attached.

Relationships

has duplicate 0012265 closedrombert Get the changelog/roadmap via soap 
has duplicate 0012892 closedrombert It would be nice to be able to search bugs with the API 
has duplicate 0014571 closedrombert Get issues for any user 
has duplicate 0016381 closed API to retrieve all issues for project version 

Activities

rombert

rombert

2011-02-13 09:31

reporter   ~0028215

The current implemenation plan is:

  1. Create a new WSDL entity to hold the filter values. These should be all the values from the IssueData;
  2. Create a new SOAP method which takes in a username, password and the filter values;
  3. In the method implementation, unserialize the filter and apply the search using filter_get_bug_rows.
rombert

rombert

2011-02-20 06:39

reporter   ~0028258

Last edited: 2012-11-06 15:00

Skeletal implementation started at https://github.com/rombert/mantisbt/tree/soap-custom-filters .

vboctor

vboctor

2015-01-25 21:11

manager   ~0048684

Here is the pull ruequest for this work:
https://github.com/mantisbt/mantisbt/pull/560

Related Changesets

MantisBT: master 10f2b977

2015-01-22 19:39

mhabrnal


Details Diff
SOAP API: added new SOAP API methods

mc_filter_search_issue_ids() - returns the array of issue ids.
mc_issues_get() - given an integer array returns array of issue data.
mc_issues_get_header() - given an integer array returns array of issue header data.

Fixes 0008657

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
Affected Issues
0008657
mod - api/soap/mantisconnect.wsdl Diff File
mod - api/soap/mc_filter_api.php Diff File
mod - api/soap/mc_issue_api.php Diff File

MantisBT: master 615f6093

2015-02-02 18:33

vboctoradmin


Details Diff
Merge pull request 0000560 from mhabrnal/master

Fixes 0008657: SOAP API support for custom filters
Affected Issues
0008657
mod - api/soap/mantisconnect.wsdl Diff File
mod - api/soap/mc_filter_api.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/FilterTest.php Diff File
mod - tests/soap/IssueAddTest.php Diff File