Display task indentations in a column of a task list

  1. Go to a list of tasks.

  2. From the View drop-down menu, click New View.

  3. Click Add Column and start typing “Task Name” in the Show in this column field then select it when it displays in the list.

  4. From the new column, click Switch to Text Mode > Edit Text Mode.

  5. Remove the text you find in the valuefield= line and replace it with the following code:

    displayname=Task hierarchy
    valueexpression=IF({indent}<1,{name},IF({indent}<2,CONCAT(' - ',{name}),IF({indent}<3,CONCAT(' - - ',{name}),IF({indent}<4,CONCAT(' - - - ',{name}),CONCAT(' - - - - ',{name})))))
    
  6. Click Done, then Save View.

  7. (Optional) Update the view name, then click Save View.

Previous pageView: display Program and Portfolio information in a task view
Next pageView: display the parent-child relationship in a task by indenting the tasks

Workfront