Not out of the box. I don't think scripting would work either because you'd need to search the database.
Long time ago there was a plugin that transform Jira database in a relationship database.
My best guess is to have the relation outside JIRA and use the API to connect.
It looks like you're new here. Sign in or register to get started.