Hi there. My organization is using Jira Server v7.12.3 and uses the Scriptrunner add-on. Is there a way to set up a Listener that fires an event when one custom field (number) on an issue changes AND another custom field (date) is in a specific range? I have the first part of the condition set up, but not the second.
Here's what I have so far:
- I'm using Scriptrunner's "Fires an event when condition is true" Listener
- Set to run in Project "PROJECT ABC"
- Event Trigger: "Issue Updated"
- Condition:
- Event to fire: "Custom Event ABC"
So, everything is working thus far, but I'm looking to add the below to the condition:
"Field B" > -1d AND "Field B" <= 3d
"Field B" is a custom date field in this case. So, I'd like "Custom Event ABC" only to fire if "Field A" changes AND if "Field B" is in the range of time I specify. Anyone know the right way to script for what I'm trying to do.