Post

3 followers Follow
0
Avatar

How to restrict Sub Project creation?

Hi Guys,

I would like to restrict Sub-Project Creation to be at most 1 level only (i.e. No Sub-Project can be created in a Sub Project).

I tried to add Validation Rule in "Hierarchy" with Evaluation Criteria: ($Parent.Parent <> null).

It works well for Project Creation.

But it cannot stop user from the scenario below:
1) Create First Sub Project
2) Create Second Sub Project
3) Indent Second Sub Project
4) Second Sub Project becomes Sub Project of First Sub Project

Is there any other configuration that can achieve the purpose?

Sam

Sam Fu Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Sam,

Could you not use a second validation rule that restricts the permissions for indenting projects when the they are a Sub Project ($Parent.Parent <> null)?

Regards,
Phil

Phil Smith 0 votes
Comment actions Permalink
0
Avatar

Hi Phil,

Thanks for the reply.

However, I am not quite sure how to add another validation rule to catch/restrict Project Indentation (It seems my original Validation Rule would not be triggered by Indent action).

Can you please help to be more specific on the Validation Rule setup?

Many thanks,

Sam

Sam Fu 0 votes
Comment actions Permalink
0
Avatar

$Parent can be any work item, maybe try $Project.ParentProject or something to that effect

Josh Santos 0 votes
Comment actions Permalink