The built-in script can only handle certain types of "cast" into strings. I don't think it supports casting a status object to a string. I think you might need to write this yourself, with something like
set custom field to issue.getStatusObject().getName()
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot