Example #1
0
 def get_context_data(self, **kwargs):
     context = super(EmployeeTaskTemplateView,
                     self).get_context_data(**kwargs)
     context['development_tasks'] = UserStoryService.developer_user_stories(
         self.request.user.employee.id).order_by('sprint__id')
     context['testing_tasks'] = UserStoryService.tester_user_stories(
         self.request.user.employee.id).order_by('sprint__id')
     return context
 def get_context_data(self, **kwargs):
     context = super(EmployeeTaskTemplateView, self).get_context_data(**kwargs)
     context['development_tasks'] = UserStoryService.developer_user_stories(
         self.request.user.employee.id
     ).order_by('sprint__id')
     context['testing_tasks'] = UserStoryService.tester_user_stories(
         self.request.user.employee.id
     ).order_by('sprint__id')
     return context
Example #3
0
def load_release_stories(release, user):
    release_stories = UserStoryService.release_backlog_stories(release.id)
    data = {
        'release_stories' : release_stories,
        'user' : user
    }
    return data
 def get_context_data(self, **kwargs):
     context = super(ProductBacklogDetailView,
                     self).get_context_data(**kwargs)
     # import pdb; pdb.set_trace()
     context['user_stories'] = UserStoryService.product_backlog_stories(
         self.get_object().id)
     context[
         'release_list'] = ReleaseBacklogService.product_backlog_releases(
             self.get_object().id).order_by('-id')
     return context
 def get_context_data(self, **kwargs):
     context = super(ProductBacklogDetailView, self).get_context_data(**kwargs)
     # import pdb; pdb.set_trace()
     context['user_stories'] = UserStoryService.product_backlog_stories(
         self.get_object().id
     )
     context['release_list'] = ReleaseBacklogService.product_backlog_releases(
         self.get_object().id
     ).order_by('-id')
     return context
Example #6
0
def load_release_stories(release, user):
    release_stories = UserStoryService.release_backlog_stories(release.id)
    data = {'release_stories': release_stories, 'user': user}
    return data