How to create rules for work item in azure devops

178 views Asked by At

I want to make a rule for a work item, for instance, that the target end date shouldn't come before the target start date.

Reference screenshot:

enter image description here

Is there something like an extension I can use to create rules; could someone please help me with this?

1

There are 1 answers

0
Andy Li-MSFT On

Azure DevOps does not support date validation, and no related extension was found to achieve the requirement.

You can see all the supported rules from Apply rules to workflow states (Inheritance process).

Besides, field rules don't support assigning values that are the sum of two other fields or performing other- mathematical calculations. However, you may find a solution that fits your needs via the TFS Aggregator (Web Service) Marketplace extension. See Custom rules.

The possible approach I can think of is to create your own custom control (for web access and VS). Examples for custom controls you may find here: WitCustomControls