View Issue Details

IDProjectCategoryView StatusLast Update
0022790mantisbtapi restpublic2017-12-30 18:36
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version2.3.1 
Target Version2.10.0Fixed in Version2.10.0 
Summary0022790: Support standard filters defined by the system when retrieving issues
Description

The SOAP API supports a set of pre-defined filters like:

  • assigned_to_me
  • unassigned
  • reported_by_me
  • monitored_by_me

The same filters should be supported in the REST API.

TagsNo tags attached.

Relationships

related to 0023561 closedvboctor mc_project_get_issues_for_user() is retrieving issues in the authorization context of target user 
related to 0022789 closedvboctor Support retrieving user defined filters 
related to 0022787 new Support CRUD operations for user defined filters 

Activities

vboctor

vboctor

2017-11-28 21:24

manager   ~0058262

PR: https://github.com/mantisbt/mantisbt/pull/1247

Standard filters supported is added by passing the following strings for filter_id query string to get issues:

  • assigned - issues assigned to me.
  • unassigned - unassigned issues.
  • reported - issues reported by me.
  • monitored - issues monitored by me.

Related Changesets

MantisBT: master 6633280c

2017-11-28 21:22:11

vboctor

Details Diff
Support standard filters in REST API

The standard filters supported are:

- `assigned` - issues assigned to me.
- `unassigned` - unassigned issues.
- `reported` - issues reported by me.
- `monitored` - issues monitored by me.

Fixes 0022790
Affected Issues
0022790
mod - api/rest/restcore/issues_rest.php Diff File
mod - api/soap/mc_filter_api.php Diff File
mod - core/constant_inc.php Diff File
mod - core/filter_api.php Diff File