How to get number of test cases linked to user stories?

I added below code to Additional setting based on another thread-

# Linked Tests to Issue
[jira.customfield_linked_tests]
name = "Linked Tests"
#list of possible links in Jira
outward_link = ["relates to","tests"]
inward_link = ["relates to","tested by"]
issue_type = "Test"
dimension = true
multiple_values = true

But it is asking me add a Java code to verify above. Is Javacode mandatory and if Yes, what should be added to that code block? Any answers would be great, Thanks!

Hi @chiruta ,

Settings for issue links should be placed in the eazyBI advanced settings (Import issue links). See picture below.

Best,
Zane / support@eazyBI.com