Actions
Feature #12022
closedChange/Update author when an issue is re-opened to the person who re-opens
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues workflow
Target version:
-
Start date:
Due date:
% Done:
90%
Estimated time:
Resolution:
Wont fix
Description
This improvement could be guarded with a new Project setting.
Add the following code to app/models/issue.rb:
def update_author_when_reopened if reopened? self.author = User.current end end
Add a call to it for before_save:
- before_save :close_duplicates, :update_author_when_reopened, :update_done_ratio_from_issue_status, :force_updated_on_change + before_save :close_duplicates, :update_author_when_reopened, :update_done_ratio_from_issue_status, :force_updated_on_change
Related issues
Actions