 
     switch state
       when "inprogress"
+        actions = [ review, done ]
+      when "review"
         actions = [ done ]
       when "done"
         actions = [ devready, inprogress ]

      type: "button"
      value: "top"

    done =
      name: "done"
      text: "Done"

              msg.attachments.push
                text: "<@#{user.id}|#{user.name}> is now assigned to this ticket"
            resolve()
        when "devready", "inprogress", "review", "done"
          result = Utils.fuzzyFind action.value, Config.maps.transitions, ['jira']
          if result
            msg.attachments.push @buttonAttachmentsForState action.name,
