I recently found this post regarding the topic. This works as long as there is only one Sprint listed in an issue or a story. However, when issues get delayed they often get pushed to a new Sprint. For example:
An issue starts in Sprint 8, but gets delayed. It will now have its Sprints listed as: Sprint 8, Sprint 9.
The automation rule in the URL above will pick Sprint 8 instead of Sprint 9 whenever the Sprint value changes. How can I make sure that it will change the dates according to either the last Sprint in the Sprint list or the currently active Sprint (we only have one Sprint active at a time)?