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)
one solution i can think about to add a condition to the behavior. Check for the linking with the text run and/ test case that is creating the bug and if there is link the behavior should not be triggered. Hope this works for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.