Hi,
I'm using Jira Data center and I'm using SIL scripts to validate certain fields at transitions. The question I have is about what the behavior is when using multiple fields in the validation check, where one of the fields can be modified on the transition screen.
In my example, let's say I have 2 fields, Field1,Field2.
Field1 is a pulldown with an initial value in issue before transition of 1
Field2 is a number field with an initial value in issue before transition of empty
The goal of the validation is to check to see that when Field1=2 that Field2 is not empty
I've exposed both Field1 and Field2 on the transition screen.
When I start my transition the transition screen show Field1=1, which is correct. But then if I change the value of Field1 to 2 before hitting enter I would expect my validation check to flag an error since I didn't enter a value for Fieeld2, but it doesn't happen since the transition screen's logic is still seeing Field1's initial value of 1, not the updated value of 2.
So my question is does SIL logic in transition screens have access to any changes made in that transition screen, or is there a snapshot taken of field values at the time the transition screen is displayed and the SIL logic only uses that and NOT anything entered in the transition screen?
Thanks,
Jay
Ha, I just found the solution in another post! Using the new way of accessing the data seems to work fine.
Thanks @Addactis Support&Operations !
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.