Disclaimer: I am using Deep clone app here.
I want to copy issues from service desk project to software project and I have to clone the insight object field value to another field that is plain text. This is because I want to export issues with their real values, instead of an internal key value.
Below is the value I get after export (this is an issue to fix this https://jira.atlassian.com/browse/JSDCLOUD-10056)

And this is what I am asking about. Below I have written the pseudo-code that does not work. Maybe it is possible to write the one it is working, that could copy value from one field (insight object) to another?
