Defect #15848

REST API: Cannot retrieve memberships of closed projects

Added by Felix Schäfer over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:REST API
Target version:2.5.0
Resolution:Fixed Affected version:

Description

A customer of ours (Planio) uses the REST API to read amongst other things project memberships (/projects/:id/memberships.xml), which currently is not possible for closed projects, as :members => :index is not declared as a read-only action. We believe this is a bug.

Furthermore, this is complicated by the project API not returning the state of a project (#15815), which means he actually still needs to poll all project memberships and needs to "guess" that "406 not allowed" errors are closed projects.

Associated revisions

Revision 12650
Added by Jean-Philippe Lang over 4 years ago

Fixed: cannot retrieve members for closed projects through the REST API (#15848).

History

#1 Updated by Jean-Philippe Lang over 4 years ago

  • Subject changed from Some read actions not available in the API for closed projects to REST API: Cannot retrieve memberships of closed projects
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.5.0
  • Resolution set to Fixed

Fixed in r12650.

Also available in: Atom PDF