Hello,
My cloning post-function doesn't clone the reporter. I need to get the source issue reporter and input it in the target issue.
So far I found how to input but not how to get source issue:
def response = get('').asObject(Map)
assert response.status == 200
def username= response.body.name
issueInput.fields.reporter = [name: username] as Map