The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add the component when we create a test execution using POST + raven ?

Cyril
March 17, 2025

Hello,

I'm using the POSt method with '/rest/raven/1.0/import/execution' to create test execution but it seems that we can't add the components impacted.

The problem is that the Test execution summary used in a Jira dashboard can be filtered by component.

Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Humashankar VJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 23, 2025

Hi @Cyril It is doable, when using Xray Server or Data Center, you can set components directly during test execution creation by including the "info.fields.components" in the payload.

In contrast, Xray Cloud requires a two-step process: first create the test execution, then update it separately using Jira's REST API to add components.

It's essential to verify your Xray version for your edition, as well as test API calls in a non-production environment to ensure accurate results.

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards