The first one return issues linked to issues that have the "test" label, while the second expression returns the issues with the label themselves.
The first expression uses a scriptrunner function, described here: https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_linkedissuesof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.