Workflow post function copy 'status' field to text field not work

Jijo John [DevOps Consultant] August 12, 2015

workflow post function copy 'status' (before transition) field to text field not work

 

Any suggestion will be greatly appreciated

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 12, 2015

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()

Suggest an answer

Log in or Sign up to answer