diff --git a/app/views/issues/_edit.html.erb b/app/views/issues/_edit.html.erb index d816ff6fc..fe12ea4a7 100644 --- a/app/views/issues/_edit.html.erb +++ b/app/views/issues/_edit.html.erb @@ -42,6 +42,10 @@ <%= call_hook(:view_issues_edit_notes_bottom, { :issue => @issue, :notes => @notes, :form => f }) %> + <% if !@issue.attributes_editable? && User.current.allowed_to?(:add_issue_watchers, @issue.project) %> + <%= update_data_sources_for_auto_complete({users: watchers_autocomplete_for_mention_path(project_id: @issue.project, q: '', object_type: 'issue', + object_id: @issue.id)}) %> + <% end %> <% end %> <% if @issue.attachments_addable? %>
<%= l(:label_attachment_plural) %>