Patch #3877 ยป copy_issue_status.diff
app/models/issue.rb (working copy) | ||
---|---|---|
80 | 80 |
issue = arg.is_a?(Issue) ? arg : Issue.find(arg) |
81 | 81 |
self.attributes = issue.attributes.dup |
82 | 82 |
self.custom_values = issue.custom_values.collect {|v| v.clone} |
83 |
self.status = issue.status |
|
83 | 84 |
self |
84 | 85 |
end |
85 | 86 |
|