Is it possible to set default value to summary? Here is what I did, in behaviours add a new one, add 'Summary' as fields. And created a new initialiser, input as below:
def defaultValue = "something default"
Then I mapped this behaviour to my test project. But when I submit a new case in the test project, there was no default value in summary field.
Did I miss something?
Claire
def summaryField = getFieldById(getFieldChanged())
summaryField.setFormValue("default value")
You need to put this in your inline script section in the Summary field part of the behaviour.
This will auto populate the Summary field with your default value.
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.