I see two rows for an issue in the nodeassociation table which implies that the issue was moved from one fixVersion to another fixVersion. Am i right?
If so how do i find the current fixVersion of the issue.
Is this detail present in the "jiraissue" table or any other table.
Your answers please...
This what happens in database when FixVersion is set for issue:
INSERT INTO nodeassociation (SOURCE_NODE_ID, SOURCE_NODE_ENTITY, SINK_NODE_ID, SINK_NODE_ENTITY, ASSOCIATION_TYPE, SEQUENCE) VALUES (90600, 'Issue', 10001, 'Version', 'IssueFixVersion', null)
UPDATE jiraissue SET UPDATED='2014-04-15 10:01:55' WHERE ID=90600
INSERT INTO changegroup (ID, issueid, AUTHOR, CREATED) VALUES (412705, 90600, 'admin', '2014-04-15 10:01:55')
INSERT INTO changeitem (ID, groupid, FIELDTYPE, FIELD, OLDVALUE, OLDSTRING, NEWVALUE, NEWSTRING) VALUES (556908, 412705, 'jira', 'Fix Version', null, null, '10001', 'version 2')
It's previous value (fix version). Anyway you can get all history of "Fix Version" for a particular issue with this:
changegroup, changeitem, jiraissue
(changeitem.field='Fix Version') and
Where IS-444 is issue key for which you want history.
Just filter newest entry and you will get current "Fix Version".
when i gave the following query
select * from changeitem where field='Fix Version' and fieldtype='jira'
and OLDVALUE is not null and OLDSTRING is not null and NEWVALUE
is not null and NEWSTRING is not null
i dont get any rows at all.
But there are some issues which were moved to other versions from their original version.So i am bit confused now.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs