Hello, We have a scriptrunner listener that creates an issue linked to the current one, based on a certain field editing action.
We use the following:
def linkManager = ComponentAccessor.getIssueLinkManager()
linkManager.createIssueLink(issue.getId(), newIssue.getId(),(Long)10003,(Long)1,user)
where 10003 is the issue link id for the "Blocks" link.
But the link has: inward description: blocks outwards description: is blocked by These do not seem to have any IDs.
I would like for the new issues that are created by the script to have the "blocks" description towards the issue they were created from (and of course, the already existing issues should be "blocked by" the newly created ones).
Thank you!