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



5 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
I changed the title of the question to correspond to what you are trying to do, i.e. change (not get) the artifact type.

AFAIK there isn't a public supported way to do this. In the user interface this is provided but AFAIK as an API it would not be so easy, for example how are attributes handled when the two types have different or overlapping attributes?

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,054

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

Question was seen: 2,164 times

Last updated: Oct 23, 11:13 a.m.

Confirmation Cancel Confirm