Hello,
I am trying to create scripted custom field which is based on JQL. I only don't now how to take lets name it... current issue key.
for example i have custom field "Number of children" and want to collect by JQL in script all tickets for which current issue is parent.
def key = current ticket key
def jql = "parent = " + key
...rest of code
It should look like this but i don't know how to get key of current issue...
Thanks in advance,
Cheers,
Maciej