Project

General

Profile

Actions

Feature #2405

closed

Enable tracker update on issue edit form

Added by Kihyun Yun almost 16 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

How can I change the tracker of issue?

I 've patched to enable this feature.
It is required because most of issuers of issue do not have whole knowledge of project. Some reporter created issues with wrong tracker. Especially we have 7 trackers for my environment.

Index: app/views/issues/_form.rhtml
===================================================================
--- app/views/issues/_form.rhtml    (revision 2195)
+++ app/views/issues/_form.rhtml    (working copy)
@@ -39,6 +39,9 @@
 <p><%= f.text_field :due_date, :size => 10 %><%= calendar_for('issue_due_date') %></p>
 <p><%= f.text_field :estimated_hours, :size => 3 %> <%= l(:field_hours) %></p>
 <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
+<% unless @issue.new_record? %>
+<p><%= f.select :tracker_id, @project.trackers.map{|t|[t.name,t.id]} %></p>
+<% end %>
 </div>

 <div style="clear:both;"> </div>
Actions

Also available in: Atom PDF