Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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. 

https://oslc-clm.dspace.de:9443/rm/requirementFactory?projectURL=https%3A%2F%2Foslc-clm.dspace.de%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_gLIyoA4_Eeenb8He39gWBw

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>

0 votes



3 answers

Permanent link

 Are you adding the root folder as part of the requirement creation request? If so, how do you calculate the root folder uri ?

0 votes


Permanent link

The server logs might have an entry that explains why it was a bad request. Check /logs/rm.log and see if you can find an entry that explains the 400.

0 votes


Permanent link

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.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 7,495
× 516
× 116
× 17

Question asked: Apr 27 '17, 2:23 p.m.

Question was seen: 4,031 times

Last updated: Apr 27 '17, 11:42 p.m.

Confirmation Cancel Confirm