     project_id
     |> Pivotal.list_people
     |> Enum.map(&(assign_stories(&1, stories)))
-    |> Reporting.report
+    |> Enum.group_by(&find_label/1, fn(x) -> x end)
   end
 
   def report(project_name) do

  end

  defp owner?(%{"owner_ids" => owner_ids}, id), do: id in owner_ids
end

require IEx
defmodule TrackerBot.Management do
  @moduledoc """
  Management related logic
  """

  alias TrackerBot.{Pivotal, Reporting, Labeling}

  @omitted_states ~w(unstarted accepted unscheduled)
  @ttl 32 # hours
