Forums

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

issue with endpoint /rest/raven/1.0/import/execution/cucumber?

Prabha
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!
October 3, 2025

I am trying to create execution using endpoint /rest/raven/1.0/import/execution/cucumber , but it gives error "Incorrect Response status code. Expected 200 but Actual: 400
{"error":"Error assembling issue data: project is required"}". 

 

I tried passing ?projectKey=<key> as param , but I get the same issue both through Java code and postman, please help to resolve.

1 answer

0 votes
Florian Bonniec
Community Champion
October 3, 2025

Hi @Prabha 

 

Not sure but I think you have to use the multipart version.

POST /rest/raven/1.0/import/execution/cucumber/multipart

Example:
curl -u username:password -F info=@test-execution-info.json -F result=@cucumber-results.json 

test-execution-info is 

{
  "fields": {
    "project": {
      "key": "PROJKEY"
    },
    "summary": "Automated Test Execution for Cucumber",
    "issuetype": {
      "name": "Test Execution"
    }
  }

Regards

Suggest an answer

Log in or Sign up to answer