View: display task indentations in a task list
- Topics:
- Reports and Dashboards
CREATED FOR:
- User
In this task view, you can add code to the Task Name column to display the tasks indented according to the Work Breakdown Structure of the project.
Access requirements
You must have the following access to perform the steps in this article:
New:
-
Contributor to modify a filter
-
Standard to modify a report
Current:
-
Request to modify a filter
-
Plan to modify a report
Edit access to Reports, Dashboards, Calendars to modify a report
Edit access to Filters, Views, Groupings to modify a filter
*For information, see Access requirements in Workfront documentation.
Display task indentations in a column of a task list
-
Go to a list of tasks.
-
From the View drop-down menu, click New View.
-
Click Add Column and start typing “Task Name” in the Show in this column field then select it when it displays in the list.
-
From the new column, click Switch to Text Mode > Edit Text Mode.
-
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})))))
-
Click Done, then Save View.
-
(Optional) Update the view name, then click Save View.