Linking xray test automatically to test plan

rajeswari saravanan November 20, 2023

Need to link xray test whenever test plan is created.I checked for linking field which is used for linking is “Test associated with a test plan” which is a multiple issue picker field.How we can get this issue in post function.Please suggest.

need a groovy script to link that xray test to test plan.

 

1 answer

1 accepted

0 votes
Answer accepted
rajeswari saravanan December 19, 2023

We can do this by adding post functions separately 

by adding create issue post function to test plan issuetype and to link the issue created to it, Add test plan field and groovy should be issue.key so that it will link the ticket as expected 

and to link test execution to the test plan, Add post function to link the ticket “xxx-111” and add the condition with specific summarry so that xray will be linked to specific test. And once done. user has to link on link in the test exection so that xray will be visible under test plan

Suggest an answer

Log in or Sign up to answer