Trying to populate description but my script isn't working. Can someone help?
Custom field is a cascading select list.
--------------------------------------
Hi Derrick,
Thank you for your question.
I can confirm that Cascading select list fields are not supported by Behaviours in Jira Cloud and this will be why your script is not working.
With Behaviours, you can only check the change value of fields supported for the view the script runs on, which you can see documented here.
I hope this information helps.
Regards,
Kristian
Thanks @Kristian Walker _Adaptavist_ !
I've changed it to single select, but it still doesn't activate in the create issue screen when I choose the dropdown.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Derrick,
In your code, you do if (changedField.getName() === "customfield_10205") { however customfield_10205 is the ID so you must put the field name here.
The name of the field is the text shown above the field on the create screen.
Also, in your requestName variable getValue().name is not valid and needs to be getValue().value as shown in the example here.
I have tested making these changes to your script, and after this, it works as expected.
Finally, please remember that Behaviours only supports company-managed software and work management projects.
I hope this helps.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.