I would like to remove stack rank value or set to a specific number when a story transitions to done. Is there a way to do this in Jira Automation. I see that you can check for updates to the status field, but it only give the trigger options for when status is added, deleted, or any change. I am looking for something a little more detailed.
e.g. when status changes to done or rejected, stack rank is set to 99.