How is the POST request failing for requirement artifact creation in 6.0.3 but worked for 6.0.2?
I am unable to create a requirement via OSLC. It is likely that there is an undocumented required field missing but I am not sure what the POST request is missing.
I just get a HTTPS 400 response back that says to check the server log which doesn’t explain the issue. <o:p> </o:p>
3 answers
There are no undocumented required fields. The two mandatory fields that I can confirm are <oslc:instanceShape> (artifact type) and <dcterms:title>. With only two fields, a new requirement can be created under the root project folder and in the default configuration/stream.
If you need more help, you should post the detailed POST data and the exact error message that you receive.
P.S. When RM reports an error, it should include a brief description. For example, if I take out the <dcterms:title> field from the POST request, I will get this error.
CRRRS6404E The OSLC request could not be completed because the request is missing this required property: instanceShape.
This is with an HTTP 403 code though. The HTTP 400 error may indicate a different issue.