Project

General

Profile

Actions

Defect #19214

closed

Set the option "inherited members" on projects through REST API

Added by Henry Auffahrt over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I create automatically with the rest api a lot of projects in Redmine.

But we have the problem that for every project we need to set manually the option "inherited members from parent projects" (i don´t know exactly the right spelling). This is very disappointing.

I use for this the PHP Class vom kbsali --> https://github.com/kbsali/php-redmine-api

This is the snippet how we create a project:

$client->api('project')->create(array(
                'name'     => $project_name,
                'identifier' => $project_identifier,
                'tracker_ids' => $tracker_ids,
                'parent_id' => $parent_projekt_id));

This work´s nicely. But i want to add something like this:

'inherited members' => true
  'inherited members' => 1
  'inherited members' => '1'

kbsali told me that as far as he can see this is not supported through the Redmine API.

Here my respone in the github Project vom kbsali for the php class --> https://github.com/kbsali/php-redmine-api/issues/95

Actions

Also available in: Atom PDF