View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022789 | mantisbt | api rest | public | 2017-04-23 18:50 | 2018-01-03 04:18 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 2.3.1 | ||||
Target Version | 2.10.0 | Fixed in Version | 2.10.0 | ||
Summary | 0022789: Support retrieving user defined filters | ||||
Description | It is needed to retrieve filters available for the logged in user. This is useful to provide the appropriate filter ids to retrieve matching issues, and to enable the user to select filter to use when applicable. Another related improvement is to enable retrieval of issues to use filter name and not just id. | ||||
Tags | No tags attached. | ||||
MantisBT: master 5926e097 2017-12-01 17:11 Details Diff |
Support getting filters for logged in user - `/api/rest/filters` returns all filters available for user across all projects. - `/api/rest/filters?project_id=1` returns all filters available for user for all projects and specific project. Project id can be 0 for "All Projects" or the id of a specific project. If project id is not specified, all filters for accessible projects are returned. Filters available to users include ones created by them or created by others and marked as public. Fixes 0022789 |
Affected Issues 0022789 |
|
mod - api/rest/index.php | Diff File | ||
add - api/rest/restcore/filters_rest.php | Diff File | ||
mod - api/soap/mc_api.php | Diff File | ||
mod - api/soap/mc_filter_api.php | Diff File | ||
mod - api/soap/mc_project_api.php | Diff File | ||
mod - core/filter_api.php | Diff File | ||
MantisBT: master 13b9aefa 2017-12-02 21:25 Details Diff |
Support getting filter criteria and filter by id - Support getting a filter by id - Support getting filter criteria Fixes 0022789 |
Affected Issues 0022789 |
|
mod - api/rest/restcore/filters_rest.php | Diff File | ||
mod - api/soap/mc_filter_api.php | Diff File | ||
add - core/classes/FilterConverter.class.php | Diff File | ||
mod - core/filter_api.php | Diff File | ||
mod - core/relationship_api.php | Diff File |