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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

154 views 5 9
Read article

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