app/services/todo_service.rb
# When create an issue we should:
#
#  * create a todo for assignee if issue is assigned
#  * create a todo for each mentioned user on issue
#
When create an issue we should:
create a todo for assignee if issue is assigned
create a todo for each mentioned user on issue
When create an issue we should : create a todo for assignee if issue is assigned create a todo for each mentioned user on issue
def handle_note(note, author)
    return if note.system? || note.for_snippet?
    project = note.project
    target  = note.noteable
    mark_pending_todos_as_done(target, author)
    create_mention_todos(project, target, author, note)
  end
def handle_note ( note , author ) return if note . system? || note . for_snippet? project = note . project target = note . noteable mark_pending_todos_as_done ( target , author ) create_mention_todos ( project , target , author , note ) end
When create an issue we should:
 create a todo for assignee if issue is assigned
 create a todo for each mentioned user on issue
When create an issue we should : create a todo for assignee if issue is assigned create a todo for each mentioned user on issue
# Skip system notes, and notes on project snippet
note
author