Mark B, Mark A -- thanks very much to you both. I see how to deal with the specific issue, and your advice is also very useful in larger knowledge of the program.
A follow-up on this:
Quote:if($Name(grandparent)=="Travel Projects")... Does that help? The 'grandparent' designator is not much seen but is useful to avoid trying to use awkward constructs like $Name(parent(parent)).
As a matter of elegance and/or efficiency in programming, is there a difference between the
$Name(grandparent)=="Travel Projects" test, and the
descendedFrom("Travel Projects") test? Is one cleaner than the other, less drag on the system, etc? Or, as is often the case in TB, are they just different routes to a common destination?
I can see how "grandparent" might be quicker, in that it's looking back a finite number of generations rather than the whole "descendedFrom" tree. But I can also see how, for that very reason, "descendedFrom" could be useful in covering further generations of sub-containers you might add. Just asking for fuller understanding of what I'm doing. Thanks!
Update Mark A points out, "Edge case: if you move tasks, you may need to manually triage the $ProjectName values."
Yes, this has come up, and I've dealt with it by creating a stamp I can use for quick-and-easy setting of $ProjectName to the desired values.