Timelines show items in a horizontal view based on the items’ start and end dates. These dates could be made to update automatically, for example to assign the end date to the day a Feature’s ‘state’ was changed to ‘Done’. However, this chapter will cover the simpler case where the dates are added manually.

Picture 19: what a timeline looks like

Click on a Feature and right-click on the “Details” tab and select “Edit view”. In the View section, press the Add button to create a simple field and name it Start Date. Click on the simple field and select the type DATETIME. Then add one more simple field, this type called End Date and also of type DATETIME.

Note that if you want to use an existing start date or end date field, you search (the magnifying glass icon in the upper right corner) the field by its name and drag-and-drop the field to the Feature’s details’s view.

Using the start and end dates to add items to timeline

Now you can open up a few Features and add the start and end dates to them.

Finally, go back to the Product and do the familiar drill of editing the type and add a timeline view in the Views section. In Items, write the following formula:

NODE()->>”Product Context”:1234569_|TYPE(“Feature”:1234572)

Additionally, set the field Item Start and Item End to point to the Start Date and End Date fields. This is done by using the VAL formula.

Into the formula editor for the Start Date, write “VAL(“ and start writing Start Date. The editor should start giving suggestions on which field to use. The end result should look something like this:

VAL(“Start Date”:1234590)

Now do the same for End Date!

Picture 20: Setting-up a timeline