List ticket tasks on tickets / milestone pages
Page: 1, 2
I'm terribly frustrated.
The checklists.tpl page at least shows us how many open tasks per checklist there are.
The tickets need to do a LOT more at a glance.
Especially since there are related tasks in each ticket.
The ideal functionality for the tickets index page would be to have {object_tasks object=$ticket} working from there. This would give a task listing and completion block for each ticket at a glance, while manageing the global disposition of all the tickets per milestone or category.
Is there any way to fix the forms so that you can still do mass editing to tickets while also being able to see all ticket tasks too? Just simply dropping the little codeblock into a new TR breaks all of the ticket management form.
I know you cant nest the form elements, but how can we make it so that the final "GO" button at the bottom collects all the checkboxes for the tickets, but ignores the form used in the task block?
Ilija? Anyone?
The checklists.tpl page at least shows us how many open tasks per checklist there are.
The tickets need to do a LOT more at a glance.
Especially since there are related tasks in each ticket.
The ideal functionality for the tickets index page would be to have {object_tasks object=$ticket} working from there. This would give a task listing and completion block for each ticket at a glance, while manageing the global disposition of all the tickets per milestone or category.
Is there any way to fix the forms so that you can still do mass editing to tickets while also being able to see all ticket tasks too? Just simply dropping the little codeblock into a new TR breaks all of the ticket management form.
I know you cant nest the form elements, but how can we make it so that the final "GO" button at the bottom collects all the checkboxes for the tickets, but ignores the form used in the task block?
Ilija? Anyone?
OK. After some prolonged thinking, thie functionality really should be as follows:
On the Milestone view, there should be a way to view the tasks of a checklist or ticket.
Meaning, when viewing the associated elements that are due on that milestone (e.g. pages, checklists, tickets, et al on the bottom of milestones>view.tpl), we should be able to see the tasks of the tickets, and add new ones (ala tickets>view.tpl).
This would allow a global view of whats due, how much work is finished and how much has yet to be done.
So my question is: Can we show the "object_tasks object=$ticket" functionality on the milestones> view.tpl page?
And if so, how?!
On the Milestone view, there should be a way to view the tasks of a checklist or ticket.
Meaning, when viewing the associated elements that are due on that milestone (e.g. pages, checklists, tickets, et al on the bottom of milestones>view.tpl), we should be able to see the tasks of the tickets, and add new ones (ala tickets>view.tpl).
This would allow a global view of whats due, how much work is finished and how much has yet to be done.
So my question is: Can we show the "object_tasks object=$ticket" functionality on the milestones> view.tpl page?
And if so, how?!
Thanks Ilija.
I've got the section rendering differently, but I'm unsure how to make the individual tasks per ticket show up here. (How do I format my post to get the nifty code block you've got?! :)
So how can one get the tasks from a ticket to show up on this page? Are you saying that the milestone page doesn't actually pull in sufficient information to make this work?
Also, the "object_tasks" seems to work great on multiple instances per page with no issue. Still testing, but it appears to be free of problems when creating new tasks and managing tasks within a ticket.
I agree with the broken functionality aspect of having this on the tickets page. It just doesn't make for good ticket management. It should be on milestone pages instead, since there really isn't a granular view of what the whole team is doing throughout the entire system.
{if $section_name == 'Tickets'}
{list_objects objects=$objects show_checkboxes=yes show_header=yes}
{else}
{list_objects objects=$objects show_checkboxes=no show_header=no}
{/if}I've got the section rendering differently, but I'm unsure how to make the individual tasks per ticket show up here. (How do I format my post to get the nifty code block you've got?! :)
So how can one get the tasks from a ticket to show up on this page? Are you saying that the milestone page doesn't actually pull in sufficient information to make this work?
Also, the "object_tasks" seems to work great on multiple instances per page with no issue. Still testing, but it appears to be free of problems when creating new tasks and managing tasks within a ticket.
I agree with the broken functionality aspect of having this on the tickets page. It just doesn't make for good ticket management. It should be on milestone pages instead, since there really isn't a granular view of what the whole team is doing throughout the entire system.
Incredible!
This isn't the prettiest styling, but it absolutely acheives what we need in aC: a single place to see all of what is due at once, and act on it there.
This isn't the prettiest styling, but it absolutely acheives what we need in aC: a single place to see all of what is due at once, and act on it there.
<div class="body">
{if $section_name == 'Tickets'}
<table>
{foreach from=$objects item=ticket}
<tr class="ticket {cycle values='odd'}" id="ticket{$ticket->getId()}">
<td valign="top" class="star">{object_star object=$ticket user=$logged_user}</td>
<td valign="top" class="priority">{object_priority object=$ticket}</td>
<td valign="top" class="ticket_id">#{$ticket->getTicketId()}</td>
<td valign="top" class="name"><a href="{$ticket->getViewUrl()}">{$ticket->getName()|clean}</a>
<span class="block details">{lang total=$ticket->countTasks() open=$ticket->countOpenTasks()}:open open tasks of :total tasks in the list{/lang}</span>
<div class="resources">
{object_tasks object=$ticket}
</div>
</td>
</tr>
{/foreach}
</table>
{else}
{list_objects objects=$objects show_checkboxes=no show_header=no}
{/if}
</div>
cbtrussell
on Dec 26. 2007. 12:51 pm
Would you mind posting a screenshot of this so I can get a better sense of what you wound up with? Thanks!



