Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,572
Community Members
 
Community Events
176
Community Groups

Xray : How to get linked issues for a Test Plan, a Test Execution or Test Case in groovy

Hello,

I try to automate the create of Test Plan, Test Execution and other kind of XRay issue type specially when a new version is created.

As I am trying to do it by groovy and Scriptrunner, the creation is working fine.

But I am strugling attaching by groovy a Test Execution to a Test Plan, a Test Case to a Test Execution, etc etc.

Here a visual example of linking a Test Execution to a Test Plan I want to do by groovy :

xray groovy.PNG

Using this kind of code doesn't work

Do you have an idea how I can achieve this ?

Many thanks in advance for your help

JH

 

1 answer

0 votes

Hi @JH ,

You can try Xray REST API to get the information. I notice there is a similar question was raised by other community member and seems like the only way would be using the rest api. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events