Hi,
How to retrieve the Confluence links in an issue to scripted field ?
Thanks
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.ComponentAccessorimport com.atlassian.jira.issue.link.RemoteIssueLinkManagerComponentAccessor.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 ?
@Thanos Batagiannis _Adaptavist_ ping
It looks like you're new here. Sign in or register to get started.