Hi Folks, Experts,
I stugged with requiment...
I need to create issue via workflow post-function (groovy create and link).
That schould work only if current issue haves linked to the issuekey: CPWEB-2056
How can i make it?
Read the links from the current issue with
issueLinkManager.getOutwardLinks(issue.getId())
That will return a list, which you can iterate through looking for
it.getKey().equals("CPWEB-2056")
Hi Nic, thanks for provided respond, Currently still can't reach goal with this script:
if (issueLinkManager.getOutwardLinks(issue.id)*.getKey().equals("CPWEB-2056")) {true}
What next? Hope you assist,
@Nic Brough -Adaptavist- still cannot resolve,
Can you help with more complex example,
Thx!
It looks like you're new here. Sign in or register to get started.