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 votes
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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

456 views 7 5
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