Hi Team,
I have written below script to add behavior in the description box.
def desc = getFieldById("description")
def defaultValue = """
h5.Initial situation:
h5.Activity:
h5.Expected result / target state:
h5.Monitored result / current state:
h5.Consequence (opt.):
h5.Workaround (opt.):
h5.Used logical or physical test data (opt.):
""".replaceAll(/ /,'')
if (! desc.getValue()) {
desc.setFormValue(defaultValue)
}
The problem is when I am going to create an issue in a project behavior is not coming in the visual panel in the description box and when I moving to text tab and removing one space from there and I moved to visual tab then the behavior is coming in the description box.
Can somebody help me to fix this issue?
Thank You
Shubhanshu Trivedi