Project

General

Profile

Actions

Defect #20700

closed

RestAPI: how to set the version "start_date"?

Added by T T over 8 years ago. Updated over 8 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 was using the python-redmine package for creating versions ("new sprints") programatically.
To my surprise the API only supports the "due_date" but not the "start_date" which is computed from the issues.
Is there a way to force the API to accept the "start_date"?

I was looking at this code:

https://github.com/redmine/redmine/blob/master/app/models/version.rb#L71

def start_date
@start_date ||= fixed_issues.minimum('start_date')
end

Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

As you can see in code, it is not able to set by web interface, too.

Actions

Also available in: Atom PDF