We are currently using Azure DevOps OnPrem 2019 and looking to migrate to Azure DevOps Online. We have the following rule defined in our work item process template. It defaults dropdown values of field X based on the values of field Y. How do I set it up in Azure DevOps Online? In DevOps online it lets me set a value of field X based on field Y by defining a rule, but does not seem to have a way to restrict the values in the drop-down for field X. See XML from DevOps OnPrem 2019 below.
<FIELD name="X" refname="mydomain.X" type="String" reportable="dimension">
<WHEN field="mydomain.Y" value="ABC">
<ALLOWEDVALUES expanditems="true">
<LISTITEM value="1" />
<LISTITEM value="2" />
<LISTITEM value="3" />
</ALLOWEDVALUES>
</WHEN>
<WHEN field="mydomain.Y" value="Insurance">
<ALLOWEDVALUES expanditems="true">
<LISTITEM value="4" />
<LISTITEM value="5" />
</ALLOWEDVALUES>
</WHEN>
</FIELD>