Project

General

Profile

How to write a ticket » History » Version 14

Andreas Müller, 02/23/2022 10:35 PM

1 11 Niels Hoffmann
{{>toc}}
2
3
4
5 1 Niels Hoffmann
6
# How to write a ticket
7
8
9 5 Niels Hoffmann
This document describes best practices when creating a new or contributing to an existing ticket. In an ideal world a developer not familiar with the problem described in the ticket has all information at hand to be able to work on the problem. All information you gather while working on a ticket should be added to the ticket as well. This also includes email discussions (copy/paste them into the ticket) which would not be accesible by other developers otherwise. Always remember: _The ticket system is a tool that should help developers to carry out their work_ 
10 1 Niels Hoffmann
11
12
13 5 Niels Hoffmann
## The Ticket Form
14 4 Niels Hoffmann
15
16
17
### Short summary
18
19 1 Niels Hoffmann
*Be as explanatory as you can in the summary*. It really saves time when browsing through ticket lists. Ideally your ticket has a short summary that describes the problem and no further explanation is needed in the Full description field.  
20 2 Niels Hoffmann
21 1 Niels Hoffmann
22
23 4 Niels Hoffmann
### Type
24 2 Niels Hoffmann
25 7 Niels Hoffmann
Use the types wisely according to the following recomendations
26 1 Niels Hoffmann
27 2 Niels Hoffmann
28 4 Niels Hoffmann
#### Bug
29 3 Niels Hoffmann
30 1 Niels Hoffmann
Bugs are severe problems and misbehaviourisms of the software. If something goes obviously wrong in the software or is not working as expected, that is considered a bug. Bugs by nature will always have highest priority.
31 3 Niels Hoffmann
32
33 2 Niels Hoffmann
34 4 Niels Hoffmann
#### Task
35 1 Niels Hoffmann
36 8 Niels Hoffmann
A task is something that was decided, has to be done or has to be implemented but is not critical to the correct workings of the software. 
37 3 Niels Hoffmann
38
39 2 Niels Hoffmann
40 4 Niels Hoffmann
#### Feature Request
41 1 Niels Hoffmann
42 3 Niels Hoffmann
Anything that users would like to be implemented in the future goes into the feature request category. Things considered as nice-to-have go in this category as well. Once a feature request is agreed on it will be moved to the tasks and therefore be queued for implementation.
43 2 Niels Hoffmann
44 1 Niels Hoffmann
45 3 Niels Hoffmann
46
47 4 Niels Hoffmann
### Full description
48 1 Niels Hoffmann
49 2 Niels Hoffmann
Any information that could not go in the short summary or additional information goes into this field. This includes:
50 1 Niels Hoffmann
51 2 Niels Hoffmann
* In case of a bug, instructions to reproduce it
52 1 Niels Hoffmann
53 2 Niels Hoffmann
* Links that hold information connected to the ticket
54
55
* Stack traces
56
57 9 Niels Hoffmann
* Any information useful to somebody working on the ticket
58 2 Niels Hoffmann
59
60 1 Niels Hoffmann
61 4 Niels Hoffmann
### Ticket Properties
62 1 Niels Hoffmann
63
64
65 4 Niels Hoffmann
#### Priority
66 1 Niels Hoffmann
67 10 Niels Hoffmann
The priority indicates which tickets are more severe and should be worked on first. This is not a totally strict system and you don't _have_ to work on your tickets from top to bottom. If something with lower priority can be fixed easily, go for it. When prioritizing a ticket that was created by a non-developer keep in mind to honour the severity.
68 2 Niels Hoffmann
69 1 Niels Hoffmann
70
71 4 Niels Hoffmann
#### Component
72 1 Niels Hoffmann
73
Define the component the ticket belongs to. This is quite important because developers might perform searches based on components (e.g. show all tickets with component cdmlib), but is also forgotten very often. 
74 2 Niels Hoffmann
75
76 1 Niels Hoffmann
77 4 Niels Hoffmann
#### Cc
78 3 Niels Hoffmann
79 1 Niels Hoffmann
Add user names here you think that might be interested in the process of working on the ticket.
80 2 Niels Hoffmann
81 3 Niels Hoffmann
82 1 Niels Hoffmann
83 4 Niels Hoffmann
#### Milestone
84 2 Niels Hoffmann
85 12 Andreas Kohlbecker
EDIT deliverables as well as internal Sprints are represented as milestones. Choose a milestone according to the rules in [CdmMilestones] or leave blank if unsure. Note: *Think twice before adding a ticket to a running sprint*. It lies in the nature of Sprints that no new tasks are added when they are actively worked on.
86 2 Niels Hoffmann
87
88 3 Niels Hoffmann
89 4 Niels Hoffmann
#### Severity
90 2 Niels Hoffmann
91 10 Niels Hoffmann
This field is to be used by external, non developers to give them the opportunity to rank the problem. This has nothing to do with how the ticket will be ranked by the developers through priorities.
92 2 Niels Hoffmann
93
94
95 4 Niels Hoffmann
#### Assign To
96 2 Niels Hoffmann
97
If you think you know who is responsible for working on the ticket you just created fill in a user name here. If this field is left blank, the ticket gets assigned to the person in charge of the component you selected earlier.
98
99
100
101 3 Niels Hoffmann
The fields "Keywords", "Dependencies", "Include in GanttChart", "Due to assign", "Due to close" are not really used by the development team at the moment. This might change in the future and their recommended use will be described here.