bugwarrior/services/activecollab2.py
def get_issue_generator(self, user_id, project_id, project_name):
        """
        Approach:

        1. Get user ID from bugwarriorrc file
        2. Get list of tickets from /user-tasks for a given project
        3. For each ticket/task returned from #2, get ticket/task info and
           check if logged-in user is primary (look at `is_owner` and
           `user_id`)
        """

        user_tasks_data = self.call_api(
            "/projects/" + six.text_type(project_id) + "/user-tasks")

        for key, task in enumerate(user_tasks_data):

            assigned_task = self.get_task_dict(project_id, key, task)

            if assigned_task:
                log.debug(
                    " Adding '" + assigned_task['description'] +
                    "' to task list.")
                yield assigned_task
def get_issue_generator(self, user_id, project_id, project_name):
        """
        Approach:

        1. Get user ID from bugwarriorrc file
        2. Get list of tickets from /user-tasks for a given project
        3. For each ticket/task returned from #2, get ticket/task info and
           check if logged-in user is primary (look at `is_owner` and
           `user_id`)
        """

        user_tasks_data = self.call_api(
            "/projects/" + six.text_type(project_id) + "/user-tasks")

        for key, task in enumerate(user_tasks_data):

            assigned_task = self.get_task_dict(project_id, key, task)

            if assigned_task:
                log.debug(
                    " Adding '" + assigned_task['description'] +
                    "' to task list.")
                yield assigned_task
def get_issue_generator ( self , user_id , project_id , project_name ) : user_tasks_data = self . call_api ( "/projects/" + six . text_type ( project_id ) + "/user-tasks" ) for key , task in enumerate ( user_tasks_data ) : assigned_task = self . get_task_dict ( project_id , key , task ) if assigned_task : log . debug ( " Adding '" + assigned_task [ 'description' ] + "' to task list." ) yield assigned_task
Approach:

        1. Get user ID from bugwarriorrc file
        2. Get list of tickets from /user-tasks for a given project
        3. For each ticket/task returned from #2, get ticket/task info and
           check if logged-in user is primary (look at `is_owner` and
           `user_id`)
Approach :