Hi there,
Is a better way to get the previous state than getting it as the last row from the SQL query below?
SELECT
TO_CHAR(grpit.newstring) AS new_state,
TO_CHAR(grpit.oldstring) AS old_state
FROM changegroup grp,
changeitem grpit
WHERE grp.id = grpit.groupid
AND grpit.field = 'status'
AND grp.issueid = <id>;
Thank you in advance!
Michal