This script is run before returning worklogs from REST API of the app. You can use it to remove/modify certain worklogs or worklog attributes. Script is passed an instance of “worklogWrapper" object. This object is a complex data structure and can be modified within the script. But modifications should update every part of the structure consistently, otherwise display anomalies may occur. Please use this script as a last resort.
...