diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb
index f957783ab..8502b4926 100644
--- a/app/views/context_menus/issues.html.erb
+++ b/app/views/context_menus/issues.html.erb
@@ -116,7 +116,32 @@
<% end %>
+ <% if @issue && (@safe_attributes.include?('start_date') || @safe_attributes.include?('due_date')) %>
+ <% modal_id = "update-dates-modal-#{Time.current.to_i}" %>
+
+ <%= form_tag(issue_path(:id => @issue.id, :back_url => @back), :method => :patch, :id => nil) do %>
+ <% if @safe_attributes.include?('start_date') %>
+
+
+ <%= date_field_tag 'issue[start_date]', '', :value => @issue.start_date, :size => 10, :id => nil %><%= calendar_for('issue_start_date') %>
+
+ <% end %>
+ <% if @safe_attributes.include?('due_date') %>
+
+
+ <%= date_field_tag 'issue[due_date]', '', :value => @issue.due_date, :size => 10, :id => nil %><%= calendar_for('issue_due_date') %>
+
+ <% end %>
+
+ <%= button_tag l(:button_submit), :name => nil, :onclick => "hideModal(this);$(this).closest('form').submit();", :data => { :disable_with => false } %>
+ <%= link_to_function l(:button_cancel), "hideModal(this);" %>
+
+ <% end %>
+
+ <% end %>
<% if @can[:add_watchers] %>