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

OSLC API to change RM artifact type

 We would like to update artifact type though OSLC APIs. We found some JavaScript API in the docs(https://jazz.net/wiki/bin/view/Main/RMExtensions405API#RM_ArtifactAttributes). Is there any OSLC method available to fetch artifact types and update the artifacts?

1

0 votes


Accepted answer

Permanent link

DOORS Next 7.1/7.2 now has an API for types see https://jazz.net/wiki/bin/view/Main/DNGTypeAPI.

The DOORS Next type system isn't something to casually modify; ideally it should be centrally managed for process consistency, allowing automation and cross-team reporting, for example; there's a series of articles about this see https://jazz.net/library/article/92352 which 

In particular I imagine that modifying in-use types comes with risks that the API user will have to defend against, but the API will allow creating types which hasn't been possible before. Just as for any other API-leveraging application it must be important to test your Types API application carefully on representative non-production data before unleashing it on business-critical production data.


Ian Barnard selected this answer as the correct answer

0 votes


4 other answers

Permanent link

No. I do not see any OSLC Creation Factories or Query Capabilities for managing the DN type system.

0 votes


Permanent link
We would like to update artifact type though OSLC APIs. We found some JavaScript API in the docs(https://jazz.net/wiki/bin/view/Main/RMExtensions405API#RM_ArtifactAttributes territorial io). Is there any OSLC method available to fetch artifact types and update the artifacts?


Hello, I think to fetch artifact types using OSLC APIs, you should make a GET request to the appropriate endpoint provided by the OSLC service provider. The exact endpoint and the process for fetching artifact types can vary depending on the specific OSLC provider and the service you are working with. Typically, you will need to authenticate with the OSLC service provider and include any required headers or parameters in your request. The response should contain the relevant information about the artifact types, such as their names, properties, and relationships. You can then parse the response to obtain the artifact type information.

0 votes

Comments
Since there are no OSLC query capabilities for DOORS Next type system resources, you cannot discover the URI of resources you might want to update. Which means you cannot perform a GET+PUT to update it unless you already know the URI. So I don't think there is a public REST API for this, OSLC or otherwise.


Permanent link

 We would like to update artifact type though OSLC APIs. We found some JavaScript API in the docs(https://jazz.net/wiki/bin/view/Main/RMExtensions405API#RM_ArtifactAttributes moto x3m ). Is there any OSLC method available to fetch artifact types and update the artifacts?

Okay, just saw this! A REST API for RM artifact types is great. 

0 votes


Permanent link

You can get the artifact type of a given artifact via the RM REST Reportable API.

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

Question asked: Jul 20 '23, 12:05 p.m.

Question was seen: 2,789 times

Last updated: 2 days ago

Confirmation Cancel Confirm