Forums » Ideas for features »
Refresh backlog after PBI move
Added by Piotr Grondziowski over 1 year ago
Moving PBI from one backlog to another doesn't refresh the view: PBI stays where it was until F5. Two files need a fix.
- File app\views\scrum\move_to_product_backlog.js.erb, line 7
$("#<%= "pbi_#{@pbi.id}_row" %>").remove();
should be replaced by
$("#<%= @previous_sprint.is_product_backlog? ? "pbi_#{@pbi.id}" : "pbi_#{@pbi.id}_row" %>").remove();
- File app\controllers\scrum_controller.rb, line 234, just after
def move_to_product_backlog
begin
a line
@previous_sprint = @pbi.sprint
should be inserted.