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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.