I want a datetime custom field to be updated with current datetime on certain transitions.
I have created the custom field "Data efectiva lliurament"
Then in the workflow transition I have added the %%%%CURRENT_DATETIME%%%% value as shown in the picture.

But when doing the transition of the issue... it fails.

Can someone help?
I have already checked that the custom field is available in this project.