     queue.push(
       (done)->
         #必须满足条件
-        done null, 0 if not (isCreate and project_id and member_id)
+        return done null if not (isCreate and project_id and member_id)
         #如果包含isCreate，则创建一个issue
         #提取标签
         tag =  if message.match /@(.+)\s/ then RegExp.$1 else 'new'
         tag = _common.checkTag tag
         #替换掉message中的标签
         data =
-          title: message.replace(/#(new|doing|done|ok)/ig, '').replace(/@(.+)\s/, '')
+          title: message.replace(/#(new|doing|done|ok|create|id|\d+)/ig, '').replace(/@(.+)\s/, '')
           status: if isDoing then 'doing' else 'new'
-          member_id: member_id
+          creator: member_id
           owner: member_id
           timestamp: new Date()
           tag: tag
           project_id: project_id
 
-        self.save data, (err, id)->
+
+        console.log data
+        issue = new _Issue member
+        issue.save data, (err, id)->
           _log "创建新的issue，id -> #{id}"
           issue_id = id
           done err

    index = 0
    _async.whilst(
      (-> index < commits.length)
      ((done)-> self.saveCommit(project_id, commits[index++], done))
      cb
    )


  #分析commit message中的标签，来关联对应的issue
  analysisCommitMessage: (project_id, message, member_id, cb)->
    self = this
    member = member_id: member_id
    #提取issue_id
    issue_id = if message.match /#(\d+)/i then RegExp.$1 else 0
    #提取done标签是否存在
