Hello,
I'm new to Groovy and would like to use a condition to validate the transition of an issue.
Issue Types:
D, R, & RS
Custom Fields:
TR & DA
Scenario:
Given the current issue (type = D) with custom field TR (value = 1) and custom field DA (value = VP).
Is there an issue of type R (in the same project) with custom field TR having the same value of the current issue (value = 1)?
AND
Does the issue of type R have a subtask issue of type RS with custom field DA having the same value of the current issue (value = VP)?
Thank you,
Jack