fortify-ps / FortifyBugTrackerUtility

Automated submission of FoD and SSC vulnerabilities to external systems
MIT License
25 stars 14 forks source link

Octane: Unable to create work items #63

Closed rsenden closed 3 years ago

rsenden commented 3 years ago

Attempting to create a work item in ALM Octane results in the following errors:

Caused by: java.lang.Exception: Error accessing remote system https://myoctane: Server Error, response contents: 
{
"servlet":"RestMqm",
"message":"Request failed.",
"url":"/api/shared_spaces/1001/workspaces/1003/phases",
"status":"500"
}

And:

Caused by: java.lang.Exception: Error accessing remote system https://myoctane: Conflict, response contents: 
{"total_count":0,"data":[],"exceeds_total_count":false,"errors":[{"error_code":"platform.general_error","correlation_id":"zqwno2l6l95nmhw8vgxpmr28p","description":"Action upon entity of type [defect] has failed. Error: BusinessRule related entity DefectEntityToken must have a valid phase","description_translated":"Action upon entity of type [defect] has failed. Error: BusinessRule related entity DefectEntityToken must have a valid phase","properties":{},"business_error":false}]}
    ... 27 more
rsenden commented 3 years ago

Fixed by 37459afd548dd13ebac37a71b3f8e4bb8b17bfd2