How can I access fieldChange in a Workflow validator?

Alexandra Atanasiu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2024

I have a custom multiple issue picker field shown in a transition screen. I want to validate this field before the transition is executed and prevent a value to be removed from it, in case a certain condition is not met.

I am already checking and doing further processing with the values which are added/removed from this multiple issue picker field in an Automation rule which runs when the field is changed but I cannot also validate and prevent the field change inside an Automation rule (because it happens AFTER the actual field change).

If I try to add my logic to a custom script in the workflow transition validator, I don't know how to access the "previous" value of this field, to be able to check whether the values which were removed are "complaint".

0 answers

Suggest an answer

Log in or Sign up to answer