Hi all,
We've been using ScriptRunner for Jira to auto initialize the Description field with a template for bugs in a certain project. This has been working fine. However, we've recently installed Xray which comes with a feature that automatically adds the test steps to the bug description when creating a defect from an Xray test. This feature unfortunately doesn't work, since the Description field is overwritten with the template defined in Behaviors.
Is there a way to prevent Behaviors from writing the template when creating the Bug from an Xray test? or alternatively, to append the test steps coming from Xray to the bug description?
I have tried using a condition to prevent the behavior from applying to a populated field (! underlyingIssue?.description) , but to no avail.
(Jira 7.6.2, ScriptRunner 5.2.2)