It would be great if the same system used for Ticket Priority could be added to Tasks.  I have added a custom field and modified tasks.inc.php.  But it's still not as nice as the priority system for Tickets.  Additionally, it would be great if the Priority could be changed at any time by editing the task.Thanks for considering this!

Might be something you need to chuck into the github issue queue. https://github.com/osTicket/osTicket/issues/new

3 months later

Thanks Grizly,Sorry I didn't respond sooner, but I missed your response.  I've added it at github.

2 years later

Just want to chime in and say that my team would also really appreciate this functionality. We use Tasks for internal use - kind of like our personal, assignable and trackable 'Things To Do' list. And, we use Tickets for our users.

Priority levels would be a godsend, and the Tasks list should be sortable via Priority. Additionally, Tasks should be sortable by Due Dates.

What do others think about this?

I would recommend that you post on the github thread your support for the feature. The more people say they want it the more likely the devs are to implement it.

9 months later

Hello. I added the priority field!!!

In Update form section — Task Details add priority

Modify the file /frontend/osTicket/include/staff/tasks.inc.php

  • add:

             'priority' => array(
                 'width' => '16%',
                 'heading' => __('Priority'),
     	    'sort_col' => 'cdata__priority',
                 ),
  • modify:
    'dept__name', 'cdata__title', 'flags', 'ticket__number', 'ticket__ticket_id', 'cdata__priority');

  • add:
    <td nowrap>&nbsp;<?php echo Format::truncate($T['cdata__priority'], 10); ?></td>

  • modify:
    <td colspan="8">

    2 years later

    simmis92 Any chance you could provide the finished file or maybe some line numbers or surrounding references for the areas you modified/added? Right now I have a blank column with no data in it. Trying to figure out what the differences are in my files versus yours.

    6 months later

    cdatapriority has to be cdataPriority in linux.
    Mysql under unix cares about capitalization.

    for example
    $tasks->values('id', 'number', 'created', 'staff_id', 'team_id',
    'stafffirstname', 'stafflastname', 'teamname',
    'dept
    name', 'cdatatitle', 'flags', 'cdataPriority');

    Also needed to add Priority to admin panel/manage/forms/task details. Maybe I added it there as Priority.
    Replaced with this to get English like edit screens:
    <td nowrap>&nbsp;<?php
    if('1'==$T['cdataPriority'])
    echo "LOW";
    if('2'==$T['cdata
    Priority'])
    echo "NORMAL";
    if('3'==$T['cdataPriority'])
    echo "HIGH";
    if('4'==$T['cdata
    Priority'])
    echo "NOW";
    ?></td>

    Write a Reply...