Contains common functionality shared between Issues and MergeRequests
# File app/roles/issue_commonality.rb, line 50 def is_assigned? !!assignee_id end
# File app/roles/issue_commonality.rb, line 58 def is_being_closed? closed_changed? && closed end
# File app/roles/issue_commonality.rb, line 54 def is_being_reassigned? assignee_id_changed? end
# File app/roles/issue_commonality.rb, line 62 def is_being_reopened? closed_changed? && !closed end
# File app/roles/issue_commonality.rb, line 46 def new? today? && created_at == updated_at end
# File app/roles/issue_commonality.rb, line 42 def today? Date.today == created_at.to_date end