Looks like there is a huge disparity between Jira 5 and Jira 6 database schemas.
When I run the below statement on Jira 5.2.11, I get the desired results, no null values in pkey column. However when I run the same query on a clone instance running Jira 6.3.6, the values in this column are null. Where the table relationships get switched around? What do I have to do to have the same behavior or results in jira 5.
*********************
SELECT
A.pkey
FROM
jiraissue A,
nodeassociation C
WHERE
A.ID=C.SOURCE_NODE_ID;
*********************