I would like to not display the status option for my parent tasks on a project. Can I build this out with a custom view? Can I accomplish this with an IF statement? Something else?
As you can see in the screenshot below my parent tasks do not have assignments. I don't want them to display a status option either. Help?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi Samantha,
This worked for me to create a new View that does not show the status of parent tasks.
displayname=Status
enumclass=com.attask.common.constants.TaskStatusEnum
enumtype=TASK
linkedname=direct
namekey=status
querysort=status
textmode=true
type=enum
valueexpression=IF({numberOfChildren}=0, {status})
valueformat=customDataLabelAsString
Hope this helps,
Teale
Hi Samantha,
This worked for me to create a new View that does not show the status of parent tasks.
displayname=Status
enumclass=com.attask.common.constants.TaskStatusEnum
enumtype=TASK
linkedname=direct
namekey=status
querysort=status
textmode=true
type=enum
valueexpression=IF({numberOfChildren}=0, {status})
valueformat=customDataLabelAsString
Hope this helps,
Teale
Thanks Teale!
Hi @Teale McCleaf‚
Thanks for sharing this code, it works really. But can we do same for the assignments for parent task. Since, many places user add their name even recommendation of best practices? Also thanks to @Samantha Isin‚ for asking this question.
Mvh
Kundan.
Hi Kundan,
You can use the same code and change the 'number of children' value to >0 and the results will only show parent tasks.
displayname=Status
enumclass=com.attask.common.constants.TaskStatusEnum
enumtype=TASK
linkedname=direct
namekey=status
querysort=status
textmode=true
type=enum
valueexpression=IF({numberOfChildren}>0, {assignmentsListString})
valueformat=customDataLabelAsString
Use assignmentsListString for all assignees or assignedToID for the Primary Owner.
Best -
Teale
Views
Replies
Total Likes
Views
Likes
Replies