Hi Community,
I am creating a behavior in Jira Cloud using scriptrunner, where I want to set a default value in Summary and Description fields on Create transition.
Please find the below code:
const summaryField = getFieldById("summary")
summaryField.setValue("Short Description of Release")
const descriptionField = getFieldById("description")
descriptionField.setValue("Long Description of Release")Please guide if the above code is correct and will it work on Create transition, and let me know if it needs any refinements.
Thanks