View Issue Details

IDProjectCategoryView StatusLast Update
0022790mantisbtapi restpublic2017-12-05 03:32
ReportervboctorAssigned Tovboctor 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
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 0022789 assignedvboctor 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
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

Issue History

Date Modified Username Field Change
2017-04-23 18:53 vboctor New Issue
2017-10-29 01:53 vboctor Relationship added related to 0022789
2017-10-29 01:53 vboctor Relationship added related to 0022787
2017-11-28 21:24 vboctor Assigned To => vboctor
2017-11-28 21:24 vboctor Status new => assigned
2017-11-28 21:24 vboctor Target Version => 2.9.0
2017-11-28 21:24 vboctor Note Added: 0058262
2017-12-04 02:25 vboctor Target Version 2.9.0 => 2.10.0
2017-12-04 23:07 vboctor Changeset attached => MantisBT master 6633280c
2017-12-04 23:07 vboctor Status assigned => resolved
2017-12-04 23:07 vboctor Resolution open => fixed
2017-12-04 23:07 vboctor Fixed in Version => 2.9.1
2017-12-05 03:32 atrol Fixed in Version 2.9.1 => 2.10.0