-
Committer:
Andy Doan
-
Date:
2014-05-06 20:20:48 UTC
-
mto:
This revision was merged to the branch mainline in
revision
477.
-
Revision ID:
andy.doan@canonical.com-20140506202048-hrv72t1f507gwbv6
ticket-api: simplify status values
Simplifies the TicketWorkflowStepStatus values to be consistent
and let the user infer the workflow-step using the "current_workflow_step"
attribute of a ticket.
While doing this I noticed a bug in api.py. The SubTicketUpdateStatusResource
and SubTicketStatusResource objects were extending TicketTranslatedResource
and happened to be dehydrating records correctly out of dumb luck. This
fixes that.