I am updating a transition in the workflow with a clone as part of the transition. It will clone the issue from the "Customer" project to the "Development Team" project when the customer issue is approved.
However, I would like to add a condition that would allow this to happen only if the issue has not already been cloned. In the set up there is a section for Condition but I have not been able to get it to work if there is already a cloned issue off the issue and it just clones a new issue.
Here is the condition that I have tried to get working:
!issueLinkManager.getInwardLinks(issue.getId())*.issueLinkType.name.contains('is cloned by')
Like I said it just ignores it and creates a new clone anyway.
Here is the screen that I am talking about:
