Project

General

Profile

Sprint Field default can be left blank,not selected auto with one sprint name

Added by an li over 9 years ago

Hi,

I found when I update the issue status from new to other state, such as doing, closed...the field in the issue called "Sprint" will automatically be filled with pre-defefined sprint name, can it be left with blank as default, not be auto selected with one sprint name? For it is easy to forget to unclick the sprint field when some of the issues needn'to be include in the sprint.


Replies (3)

RE: Sprint Field default can be left blank,not selected auto with one sprint name - Added by Alexandre Klein over 9 years ago

Hello,

+1

I just migrated an old mantis to redmine and when i update an old issue (close) it automaticaly become a member of the current sprint.

Thanks.

Alex

RE: Sprint Field default can be left blank,not selected auto with one sprint name - Added by Alexandre Klein over 9 years ago

in ./scrum/app/views/scrum_hooks/issues/_form.html.erb

There is

<%- sprints = @issue.project.sprints_and_product_backlog
options = options_for_select(sprints.collect {|sprint| [sprint.name, sprint.id]}, @issue.sprint_id) ->
<
= form.select :sprint_id, options, :include_blank => true %>
i didn't find how to force the :include_blank => true to be selected by default.

Alex

RE: Sprint Field default can be left blank,not selected auto with one sprint name - Added by an li over 9 years ago

ah, that means it cannot be optimized now, right?

    (1-3/3)