We are using the ScriptRunner JIRA plugin to clone issues when certain workflow transitions occur. We noticed that Labels are being copied from the source Issue to the clone, and we would like to avoid that. We found that we could prevent attachments from being copied to the clone by adding the following line in our script.
checkAttachment = {attachment -> false}
Is there a similar solution that we can use to prevent Labels from being copied?
Thank you very much in advance.