Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jijo John [DevOps Consultant]
Contributor
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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