Project

General

Profile

Parent task In New Issue

Added by Viral Patel about 10 years ago

How to pull only Features(Not Bugs) from Parent Task Field in New Issue Form.

<%= javascript_tag "observeAutocompleteField('issue_parent_issue_id', '#{escape_javascript auto_complete_issues_path(:project_id => @issue.project, :tracker_id => @issue.project.trackers, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil))}')" %>

This code is in issues/_attributes.html.erb and pull all the trackers from the same project. I only want to pull Features, not the other trackers.

Please help me out with this. Thanks.