To prevent users from creating or cloning an issue with a due date that has been passed, I set a date compare validator [field "due date" must be later or same as "Created"] on the initial "Create" transition from start to "open" status in the project workflow.
However, the validation does not seems to be working and I am still able to create an issue with a passed due date in the project.
I have try using the same date compare validator rules in other transitions (e.g. the acknowledged and start" transition) and the validator works fine and prompt an error message when I move the issue status with a passed due date.
Is there any way to put validator on the "Create" transition and stop users creating issues with passed due dates?
Workflow:
Validator:
Hi @IADS Admin and welcome to the Community!
The rule as you designed it can't work on the create transition simply because the issue has not been created yet at that point and the created date as a result does not have a value yet.
Instead of comparing to a field, you can compare the due date to an expression and use the current date (now) for comparison:
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.