Hi Avinash.
If this is a ScriptRunner scripted field then you can access the remote links and find those where the application name is Confluence, something like
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.link.RemoteIssueLinkManager
ComponentAccessor.getComponent(RemoteIssueLinkManager).getRemoteIssueLinksForIssue(issue)?.findAll {
it.applicationName == "Confluence"
}
Please let me know if this does the trick,
Regards, Thanos
Hi @Thanos Batagiannis [Adaptavist],
Thank you for the reply.
How to print the title of the page (hyperlinked) as the output of the scripted field ?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.