Behaviours based validation for Multi-Level Cascading Select Edited

Hello

Is there a way to trigger Multi-Level Cascading Select validation on edit form? I want to use behaviours because i want to validate those fields not only on transitions, but also during edition.

I have:

  • Added behaviour,
  • Mapped it to correct issue type,
  • Added the field that i want to be validated to the behaviour
  • Added server side validation script to that behaviour

but when i edit the issue, it looks like no validation is being triggered.

When I execute the above steps on the other type of field, browser makes the following REST call after edit: 

http://{jiraurl}/rest/com.onresolve.jira.plugin.Behaviours/1.0/behaviours/runvalidator.json

Is there any way to trigger this validation on select value change?

 

Best regards

Pawel

1 answer

0 vote
Alexey Matveev Community Champion Dec 27, 2017

Hello,

It depends where you put your script. You should add the field, which you want to check, to the behaviour and put your script for it. 

Hello,

Thank you for quick reply.

This is exactly where I put the script. This works for regular field types, but does not work for Multi-Level Cascading Select.

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,305 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