Project

General

Profile

Feature #22491

Updated by Toshi MARUYAMA almost 8 years ago

In case of Subtasks, the "Add" button leads to new issue form, so it creates new issue. 
 In case of Related issues, the "Add" button shows small form to lookup for existing issue number and create relation for it. 

 This is sometimes confusing and makes me to explain those simple things. 

 I would like to propose to: 
 # change the Subtasks "Add" button to "New issue", which is, to use <code>label_issue_new</code> in here: 
 <pre> 
 <code class="ruby"> <code> 
   # Returns a link for adding a new subtask to the given issue 
   def link_to_new_subtask(issue) 
     attrs = { 
       :tracker_id => issue.tracker, 
       :parent_issue_id => issue 
     } 
     link_to(l(:button_add), new_project_issue_path(issue.project, :issue => attrs)) 
   end 
 </code> 
 </pre> 
 # optionally, add new Subtasks "Add" button opening the same small form to lookup for existing issue number and make it a subtask.

Back