How to automate a rule to change the status of Xray Test execution test status when the linked defect is closed.
if i have a test under Xray test execution, and this test is failed and a defect is raised while testing.
if this defect is closed i want to change the status of this test Run under test execution to Retest.
Regards
Hi @Fatma Diab , welcome to the Atlassian Community and thanks for your post.
For automations, we would normally ask you to attempt to create the rule for yourself and then we can offer suggestions for how to make it work or to improve it.
In this situation, it depends whether these objects that you want to update are Jira work items or not.
For example, if a defect is a work item, you can use the closing as a trigger to update the Test Run, but only if the Test Run is a Jira work item.
https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/112178
For example, this rule is listening for the closure of one work item to take an action in another.
However, sometimes there are limitations with plugins like XRay or Zephyr that some of the objects are not Jira work items so you can't use automation with them.
Please can you try to create your own rule and if you can't get it to work, write us back showing the rule and the audit log and we will try to help.
Best wishes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.