It's all about the answers!

Ask a question

Create Module from Template with OSLC

Stephen Valliere (231418) | asked Aug 07 '13, 9:36 a.m.
 Is there a way to create a new module using an existing Artifact Template via OSLC? This seems like it should be fairly straight forward but I cannot find any information on it.

Accepted answer

permanent link
Stef van Dijk (2.0k179) | answered Aug 09 '13, 11:28 a.m.
No, at this time, the creation of modules is not supported through the OSLC APIs.
Rosa Naranjo selected this answer as the correct answer

2 other answers

permanent link
Lonnie VanZandt (88717) | answered Oct 20 '17, 2:56 p.m.

 It is, however, achievable with a mix of OSLC and RM REST APIs.

permanent link
Christian Gallant (11) | answered May 16 '23, 9:28 a.m.

It is possible with the following POST request:


DoorsRP-Request-Type: private
OSLC-Core-Version: 2.0
Configuration-Context: e.g.: https://server/rm/cm/changeset/XXXXX

Request URI:

Paramaters (Body)


Full URI:

Ian Barnard commented May 16 '23, 10:27 a.m. | edited May 16 '23, 10:28 a.m.

The "DoorsRP-Request-Type: private" gives a clear indication that this is most likely an unsupported API subject to risk of change through versions and possibly iFixes. i.e. Caveat Emptor/use at your own risk, but preferably avoid.

Christian Gallant commented May 16 '23, 10:53 a.m.

@Ian Barnard

Thanks for the hint. We know that which forces us to run daily tests against the API.

Why don't put such a useful function to the public API?

There are certainly more complicated ways to achieve the same goal, but unfortunately this is not documented anywhere. 

One possibility would be to specify the URI of a module as a template, create a new one and copy the artifacts of the template module, or manually append them as use in the RDF document.

What is the official way to create a module based on a template? 

Ian Barnard commented May 16 '23, 12:21 p.m.

Hi Christian - you can create an Idea with your business case justifying the API here  If there's an existing idea on the topic, suggest you upvote that rather than create a new one.

Your answer

Register or 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.