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
Updated by Brian Lindahl about 12 years ago
Er...
Add a call to it for before_save:
- before_save :close_duplicates, :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
Updated by Anonymous about 12 years ago
Wouldn't this destroy the record of the original author...?
Updated by Go MAEDA over 3 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
I can't think of use cases for the feature. And I believe that the behavior is confusing and undesirable for most users.
However, if the #1739 is implemented in the future, I think what you want to do can be achieved manually.
Updated by Go MAEDA over 3 years ago
- Related to Feature #1739: Add ability to change issue author added
Actions