Hello, guys!
We are using ScriptRunner. I would like to check whether the current issue has a link to confluence.
I can see other links, however the following code does not show a confluence link:
package com.onresolve.jira.groovy.test.scriptfields.scripts
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.worklog.WorklogManager
import com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration
def worklogManager = ComponentAccessor.getComponent(WorklogManager)
def workLogs = worklogManager.getByIssue(issue)
def issueLinkManager = ComponentAccessor.getIssueLinkManager()
issueLinkManager.getOutwardLinks(issue.id).each { issueLink ->
log.debug(issueLink)
}
How is it possible to check whether the current issue has a link to confluence?