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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.