def tickets(self, extra_params=None):
        """
        A User's tickets across all available spaces
        """
        tickets = []
        for space in self.api.spaces():
            tickets += filter(
                lambda ticket: ticket.get('assigned_to_id', None) == self['id'],
                space.tickets(extra_params=extra_params)
            )
        return tickets
def tickets ( self , extra_params = None ) : tickets = [ ] for space in self . api . spaces ( ) : tickets += filter ( lambda ticket : ticket . get ( 'assigned_to_id' , None ) == self [ 'id' ] , space . tickets ( extra_params = extra_params ) ) return tickets
A User's tickets across all available spaces