This post-function allows to set the value of a user property, or create it if it doesn't exist.
In the following screenshot we show how to set current user's property called "LastTransitionedIssue" with the issue key of current issue:
Once configured, post-function looks like this: