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

OSLC API : Creating requirement inside module template.

I am able to create a requirement artifact using the creation factory link from service providerĀ  as following: json "dcterms:title": { "@rdf:datatype": "http://www.w3.org/2001/XMLSchema#string", "#text": "Requirement Creation Factory" }, "oslc:creation": { "@rdf:resource": "https://gm-elm.onclearobject.com/rm2/requirementFactory?projectURL=https%Fgm-elm.onclearobject.com%2Frm2%2Fprocess%2Fproject-areas%2F_dSOn4M7ZnaL_3Q" } This successfully creates the artifact, but it is created in the root of my component. I would like to link it to a module template and have the requirement created inside that module template instead.
How can I achieve this?

0 votes



One answer

Permanent link

You always have to create the core or base artifact first, then insert a reference to it (i.e. a binding) in the module structure. The binding shows attributes from the core artifact, but has its own links.


Use the module structure API linked by the title "Module API" hereĀ https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding

Search this forum for module structure and you'll find some answers that should help.

0 votes

Comments

NOTE that the module structure API is not an OSLC API

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
× 11,089

Question asked: Apr 03, 6:10 a.m.

Question was seen: 549 times

Last updated: Apr 09, 5:52 a.m.

Confirmation Cancel Confirm