Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

Thank you Sergio.

Hi @Sergio Freire ,

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

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you