Hi,
We wrote small script using behaviour which is working on create view but not working on transition view, ever after enabling New work transition experience.
Any help on this, do we need to do any other changes
const firstField = getFieldById('customfield_17808');
const secondField = getFieldById('customfield_13445');
const changedField = getChangeField();
switch (changedField.getName()) {
case 'Field Name':
switch (changedField.getValue().value) {
case 'ABC':
secondField.setOptionsVisibility(["14761","14764"], false);
secondField.setOptionsVisibility(["17624","17625"], true);
break;
case 'XYZ':
secondField.setOptionsVisibility(["17624","17625"], false);
secondField.setOptionsVisibility(["14761","14764"], true);
break;
}
break;
}
Thank you in advance.
Issue resolved. I was trying on business project.
As per adaptavist team, behaviour script won't work on transition view for business project. It was on software project.
Hello @Sreenivasaraju P
Can you explain in words what you expect the Behaviour to do, and what you are observing when you apply it to the transition screen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On change of first field value, in the second field different options should visible.
In the first field if we select ABC , then in the second field options 1 & 2 should list and if we select XYX in the first field, then in the second field options 3 & 4 should list.
Please let me know if you need any further details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.