Tickets¶
Tickets are how Traq tracks issues, requests and tasks. Each project has its own
ticket list at /{project}/tickets, and ticket numbers are per project (the
first ticket in each project is #1).
What a user can see and do with tickets depends on permissions. The types, statuses, priorities and severities a ticket can use are set up in the AdminCP; see Ticket Properties.
Creating a ticket¶
Click New ticket (/{project}/tickets/new). This needs the create_tickets
permission. The form asks for:
- Summary and Description
- Type, which also decides which custom fields are shown, and fills in the description from the type's template if it has one
- Severity, Priority, Milestone, Version, Component, Assigned to, Status, Tasks, Related tickets, Time proposed and Time worked
- An optional attachment
You only see the properties you're allowed to set. Anything you can't set gets a
default instead (for example, new tickets default to the Normal severity), so
a guest-friendly form can be as short as a summary and description. Which
properties each group or role can set is controlled by the ticket_properties_set_*
permissions.
Note
The ticket creation delay (AdminCP → Settings) stops a user creating another ticket until that many seconds have passed since their last one. Administrators aren't subject to it.
Everyone who creates a ticket is subscribed to it automatically. See Subscriptions & Notifications.
Viewing and updating a ticket¶
A ticket page shows its properties, description, attachments, related tickets,
tasks and its full history. To update a ticket, use the form at the bottom of
the page (needs update_tickets). Change any properties you're allowed to
(ticket_properties_change_*) and optionally add a comment (comment_on_tickets).
Every change is recorded in the ticket's history, along with the comment, who made it and when. Changes also appear on the project timeline and are emailed to subscribers.
Editing the description and history¶
- Editing a ticket's description needs
edit_ticket_description. - History entries (comments) can be edited with
edit_ticket_historyand deleted withdelete_ticket_history. Users can always edit their own entries.
Moving a ticket to another project¶
Open Move on a ticket (needs move_tickets). Moving is a three-step process:
- Choose the destination project. Only projects you have
create_ticketsin are listed. - Choose the milestone, version, component and assignee to use in the new project. These must belong to the destination project, and the assignee must be one of its members.
- Confirm.
The ticket gets the next ticket number in the new project, and a "moved to" / "moved from" event is added to the timeline of each project.
Deleting a ticket¶
Needs delete_tickets. Deleting is permanent.
Tasks¶
A ticket can carry a checklist of tasks. Add and remove them from the
Manage button next to Tasks on the new/update form (ticket_properties_set_tasks /
ticket_properties_change_tasks).
Anyone with ticket_properties_complete_tasks can tick a task off straight from
the ticket page without editing the ticket.
Related tickets¶
Tickets can be linked to each other. The link is created on both tickets, each showing the opposite relationship:
| This ticket… | …shows on the other ticket |
|---|---|
| Relates to | Relates to |
| Blocks | Is Blocked By |
| Duplicates | Is Duplicated By |
| Contains | Is Contained By |
Manage links from the Related tickets section of a ticket (needs
ticket_properties_change_related_tickets). Related tickets can be in other projects.
Voting¶
Users with vote_on_tickets can vote for a ticket. Each user can vote once per
ticket, and can't vote on tickets they created. The vote count is shown on
the ticket and in the ticket list, and clicking it shows who voted. Votes can be
used as a column, filter and sort order in the ticket list.
The ticket list¶
/{project}/tickets lists the project's tickets. The page size is the
Tickets per page setting in the AdminCP (25 by default).
Filtering¶
Use the Filters panel above the list to add filters. Each filter can be inverted ("is not") and most accept several values; a ticket matches if it has any of a filter's values, and must match every filter you add.
| Filter | Matches |
|---|---|
summary, description |
Text anywhere in the field. * is a wildcard |
owner |
Name of the user who created the ticket (partial match) |
assigned_to |
Name of the assigned user |
type, status, priority, severity, component |
Exact name |
milestone, version |
The milestone's slug |
status special values |
allopen, allclosed, allstarted match every status of that kind |
q |
The search box: matches the summary or ticket number |
| Custom fields | Text anywhere in the field's value, using the field's slug |
The filters are kept in the address, so a filtered list can be bookmarked or shared. They're the same ones the API takes:
/{project}/tickets?status=allopen&type=Defect,Task
/{project}/tickets?assigned_to=Sam&priority=!Low
/{project}/tickets?milestone=3.9&summary=crash*
Values are separated with commas. Starting a value with ! excludes it.
Sorting¶
Click a column heading, or add order_by to the address:
/{project}/tickets?order_by=priority.asc
The columns are ticket_id, summary, status, owner, type, component,
milestone, assigned_to, priority, severity, created_at, updated_at
and votes, plus any custom field (by slug). Add .asc or .desc. Priority
and severity sort by their rank, not alphabetically.
Project managers set the Default ticket sorting for a project in Project Settings.
Mass actions¶
Users with update_tickets and perform_mass_actions see a checkbox next to
each ticket. Tick the tickets you want and a Mass actions panel appears.
Pick new values for any properties and optionally add a comment; the change is
applied to every selected ticket, and each one gets its own history entry and
notification.
As with a single update, properties you don't have permission to change are ignored.
Timeline¶
The project timeline (/{project}/timeline) shows ticket creation, updates,
closures and moves alongside other project activity. Users with the
delete_timeline_events permission can delete individual events.
Atom feeds¶
Each ticket's history is available as an Atom feed. Add .atom to the ticket's
address:
/{project}/tickets/12.atom
A project's changelog also has a feed; see The changelog.