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
Hi Maciej
Try something like this:
Issue issue = issue def key = issue.getKey() def jql = "parent = " + key
This should get you the key of the current key.
Regards,
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.