Defect #20700

RestAPI: how to set the version "start_date"?

Added by T T about 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Invalid Affected version:3.1.0

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

History

#1 Updated by Toshi MARUYAMA about 2 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.

Also available in: Atom PDF