Given a ticket is not in any milestone
when the ticket is created or updated
Then it is put in the sorting Hat milestone
and
Given an event relates to tickets
When there is no "Sorting Hat" milestone
Then a "Sorting Hat" milestone is created
And the "Sorting Had" milestone has no due date
and
Given an event relates to tickets
And there is a "Sorting Hat" milestone"
When the "Sorting Hat" has a due date
Then the due date on the "Sorting Hat" milestone is deleted
and
Given a milestone has open tickets associated with it
When the milestone is closed
Then the open tickets are moved into the "Sorting Hat" milestone
Obviously, these need to be done in the right sequence (milestone exists, etc).
and
and
and
Obviously, these need to be done in the right sequence (milestone exists, etc).