def update_projects(self):
		self.config.log("Fetching the projects list...")

		xml = network.get_xml(Project.endpoint, self.config)
		data = network.xml_to_data(xml)
		
		self.projects = []
		
		for project_data in data.projects:
			if not isinstance(project_data, BeautifulSoup.Tag):
				continue

			project = Project(project_data, self.config)
			project.update_tickets()
			self.projects.append(project)
	def update_tickets(self):
		self.config.log("Updating the tickets...")

		self.tickets = []

		page = 1
		while True:
			self.config.log("Page " + str(page))
			xml = network.get_xml(self.tasks_list_url() + '?page=' + str(page), self.config)
			data = network.xml_to_data(xml)

			if data.tickets is None or len(data.tickets) == 0:
				break

			page = page + 1

			for ticket_data in data.tickets:
				if not isinstance(ticket_data, BeautifulSoup.Tag):
					continue

				ticket = Ticket(ticket_data, self.name(), self.config)
				self.tickets.append(ticket)
			
			self.config.log("")