Groovy: Access To Web Page Value From Transition Validator Groovy Script

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.

1 answer

0 vote
Mizan Community Champion Jun 10, 2012

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

Mizan Community Champion Jun 11, 2012

This is easily possible using the behaviours plugin . Have a look at this doc

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,334 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot