Forums

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

Not able to parse description from feature file when trying to import Cucumber tests into XRAY.

Suchismita Ganiga
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 18, 2020

Hello all,

I am trying to import a feature file into XRAY in order to create a new Cucumber test in XRAY.

When using the Importing Cucumber Tests - REST

I get the following error- 

{ "testIssues": [], "preConditionIssues": [], "message": "description: Description is required.\n"}

As of now Description field is mandatory for creating any test in our Xray project. 

How do we parse the description from the feature file? What is the format for me to enter the description in the feature file so that it is successfully parsed.

I have tried to enter a a comment(example- '# this is my description') but the API still complained that description is missing. 

Any help regarding this would be appreciated.

Thanks,

Suchi

 

 

1 answer

1 accepted

0 votes
Answer accepted
Sergio Freire - Xblend
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.
August 19, 2020

Hi @Suchismita Ganiga ,

as per Xray Cloud documentation, currently, the Description field is not populated from information in the .feature file.

Therefore, you will need to make Description field optional on the Test issues.

If you face further issues or need help, please don't hesitate to reach out Xray support so the Xray team can help you out as fast as possible.


Regards
Sergio
 
=======================================
A personal blog on testing, Agile, and software development: https://sergiofreire.com
Follow me on Twitter: https://twitter.com/darktelecom

Suchismita Ganiga
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 19, 2020

Thank you Sergio.

Noam Korobko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2021

Hi @Sergio Freire - Xblend ,

I'm facing the same issue, I have the automation for importing our .feature files to Jira using Xray. Recently I have received a request to add the description as well, are you familiar with a best practice for this? Or Xray have developed some sort of a feature for this? 

 

Thanks

Noam

Rogério Paiva - Xray Xporter
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.
June 24, 2021

Hi @Noam Korobko 

Currently, it is still not possible to add the description during the import of feature files.

However, we have this improvement suggestion in our backlog (https://jira.xpand-it.com/browse/XRAYCLOUD-3008); please feel free to watch and vote.

Thank you.

Kind regards,
Rogério Paiva [Xray Support Team]

Like Deleted user likes this

Suggest an answer

Log in or Sign up to answer