Hi Team!
My team and I are using a post function scriptrunner for jira cloud to clone items for other projects.
We are faced with a scenario in which cloning of items should only be done if the type of request (customfield_10010) is the same or different from that informed.
I've already tested both ways within the post function as shown in the image below, but without success.

This happens even when opening tickets corresponding to the type of request informed in the ID.
Has anyone seen anything like this? Can you help me?
Thanks!