Do I need to parse History to get Original Value during Groovy custom listener?

Scott Evans September 20, 2012

I have a custom Groovy listener that will (when a certain IssueType is updated) look at a field (product version) and find all the tickets that have fixVersion equal to it. With those tickets, it will set the custom field (release) to be the same as the original ticket.

However, if I change the "product version" to a new value, the listener just sets the release field on a new set of tickets. I want to clear the old set of tickets first, but I am not sure how to get the original value of "product version" in the listener.

Is there a way to do this without parsing the History of a ticket?

George

1 answer

1 accepted

0 votes
Answer accepted
Darly Senecal-Baptiste
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2013

Suggest an answer

Log in or Sign up to answer