Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Run a script when a release has its Release Date changed

Jake Jollimore September 20, 2019

I've written a script to set a task's due date to the latest release date among the releases in its fix versions whenever the task's Fix Versions field is updated. This all works fine. 

However, I'd like to keep the due date in sync with the latest release date among a given task's fix versions. This means that whenever a release has its Release Date value changed, I potentially want to update the due dates for all tasks that have that release in their Fix Versions. My only issue is that I don't know how to get the script to execute when this happens. Is there a built in event I can write a listener for?

1 answer

1 accepted

1 vote
Answer accepted
Deniz Oğuz - The Starware
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2019

If you are using ScriptRunner you can listen for "VersionUpdatedEvent" in a custom event listener. 

Jake Jollimore September 23, 2019

This is exactly what I was looking for. Thanks!

Suggest an answer

Log in or Sign up to answer