SELECT (SELECT (SELECT pkey FROM project WHERE project.ID = jiraissue.project) from jiraissue WHERE jiraissue.ID = nodeassociation.source_node_id) AS project,
(SELECT issuenum from jiraissue WHERE jiraissue.ID = nodeassociation.source_node_id) AS issuenum,
(SELECT vname FROM projectversion WHERE projectversion.ID = nodeassociation.sink_node_id) AS version
FROM nodeassociation JOIN projectversion ON nodeassociation.sink_node_id = projectversion.ID
WHERE source_node_entity='Issue' and association_type='IssueFixVersion' and projectversion.vname=<name>;