Hi people
I want to insert serveral rows in JIRAISSUE table with sql INSERTS
If I do it I get a PRIMARY KEY error so I need to know where JIRA gets its PK
I read that the table PROJECT has a field called pcounter which pointed the next value of the key but if I do
SELECT PROJECT.pname,
pcounter,
COUNT (*),
MAX (JIRAISSUE.id),
MIN (JIRAISSUE.id),
MAX( JIRAISSUE.pkey),
MIN( JIRAISSUE.pkey),
MIN (workflow_id),
MAX (workflow_id)
FROM JIRADBUSER.JIRAISSUE, JIRADBUSER.PROJECT
WHERE project.id = JIRAISSUE.project
GROUP BY PROJECT.pname, pcounter;
the values don't seem right
Does anybody know where the ID field of JIRAISSUE gets its value from?
Thanks in advance
Baltasar