     return false
 
   prepareResponseForJiraTickets: (msg) ->
-    Promise.all(msg.match.map (key) ->
+    Promise.all(msg.match.map (key) =>
+      return unless @shouldIncludeAttachmentForTicketKey key, msg
       _attachments = []
       Jira.Create.fromKey(key).then (ticket) ->
         _attachments.push ticket.toAttachment()


  send: (context, message) ->
    @adapter.send context, message

  matchJiraTicket: (message) ->
    if message.match?

    @robot.hear Config.assign.regex, (msg) =>
      msg.finish()
      [ __, key, remove, person ] = msg.match

      includeAttachment = @shouldIncludeAttachmentForTicketKey key, msg
      if remove
        Jira.Assign.forTicketKeyToUnassigned key, msg, includeAttachment
      else
        Jira.Assign.forTicketKeyToPerson key, person, msg, includeAttachment

    #Create
    @robot.respond Config.commands.regex, (msg) =>
