Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello all,
I'm looking for a scripted listener (scriptrunner plugin) to compare a custom date field (Start date) to system field (due date) and prevent an update of Start date if higher than due date.
Can someone help me with the script?
Thanks in advance,
Hi Natalie:
Okay so as I understand it, you want a listener to check on issue update if the start date comes AFTER the due date?
The listener would only detect this when the issue is actually updated, meaning that the user change has already been committed.
When the listener detects that the start date has been set after the due date, what would you like it to do?
Is this for Jira server or Cloud?
Thanks Ken for breaking this down to this level. This solution is run on JIRA data center.
It's correct that I want it to be detected. Is there a way to prevent the update? Maybe through behavior or Automation??
Alternatively, what would you recommend should happen after the update?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.