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: 

Whats the below issue ?

albertmartin
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!
May 21, 2025
elementNumber": 46,
            "errors": [
                {
                    "xray": "Step 2 is missing following required fields: action."

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Piyush Annadate _ACE Pune_
Community Champion
May 21, 2025

Hi @albertmartin ,
Welcome to the Community !
Seems the input doesn't have ACTION step which is manadatory in your xray test cases.

In Xray (especially while importing tests in JSON or CSV format), each test step must include certain required fields such as:

  • action (what to do)

  • data (optional - test data used)

  • result (expected outcome)

Since the action is mandatory, if it's not present, you get this error. Kindly check your input json/csv as below:



{
"testSteps": [
{
"step": 1,
"action": "Open the login page",
"data": "",
"result": "Login page is displayed"
},
{
"step": 2,
"action": "Enter valid username and password",
"data": "username: testuser, password: 12345",
"result": "User is logged in successfully"
}
]
}

 

albertmartin
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!
May 21, 2025

In My CSV file i do not have empty fields but have charaters like - , ( ,£ will this affect ?

 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events