Work Item Customization

Oct 10, 2008 at 6:03 PM
Hi all,

Do you know if it's possible to filter allowed values in a "Assign To" field when the "State" field is in a particular state.

For example

For state Active you could assign  the work Item to x, y ,z
if  state Close you could assign the work Item to xa, ya, za.

Any way this could be done?

I tried with When rules on the state definition but with no sucess it only seems to work to one When rule. Nested When's  do nothing.

Heres the code

<STATE value="Active">
             <FIELD refname="System.AssignedTo">
              <WHEN field="System.State" value="Active">
                <ALLOWEXISTINGVALUE />
                  <LISTITEM value="[project]\A" />
                  <LISTITEM value="[project]\B" />
                  <LISTITEM value="[project]\C" />
                  <LISTITEM value="[project]\D" />
              <WHEN field="System.State" value="Closed">
                  <LISTITEM value="[project]\D" />