Is there a way to access the value on a resolve transition screen from a Validator Groovy Script? I can get the database value for the given ticket from a Groovy script, but the field is updateable on the transition web page and I need to obtain the value from that page.
If i got it right , you want to validate a field based on value of another field on the same(resolve) screen
You should have a look at the behaviours plugin . You will have to write a server side script which will check if the other field and based on that add the validated to the required field .
You can refer the examples and misc examples
What I was really looking for was to prevent the user from resolving a ticket if a custom field which exists on the resolve ticket transition page is not set to a one of two specific values. Does that make sense? Another note: still running Jira 4.2.2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is easily possible using the behaviours plugin . Have a look at this doc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.