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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer