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

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 18 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

45 views 1 0
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