I have a workflow where I am comparing a custom field date and want to display an error message if the field CM Start Time is less than 48 hours from the current time. In my example below, I cannot figure out what the expression to compare cfValues['CM Start Time'] to. Can anyone assist?
cfValues['CM Type of Change'] == 'Standard' && cfValues['CM Start Time'] < now("-48h")
You should be able to install "JIRA Suite Utilities", a free plugin for JIRA. This includes several new validators. One of those is the "Date Expression Compare". Using this validator, you can restrict it like this:
Screen Shot 2016-11-16 at 11.47.21 AM.png
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs