Behaviours based validation for Multi-Level Cascading Select

Paweł Dudzic December 27, 2017

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 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 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. 

Paweł Dudzic December 27, 2017

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