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

Update artifact type for a base artifact using OSLC api.

I am using Jazz version 7.0.1 and I want to update the artifact type for a base artifact using OSLC API.

I have tried to GET an base artifact and after that do a PUT in order to change the artifact type.
It works for all the properties except for the artifact type. 
It doesn't give an error, but also the artifact type is not changed.

Is there a method which can change the artifact type using some kind of API (OSLC or other) ?


0 votes



One answer

Permanent link

The problem seems to be a bug or maybe a performance optimization .

The artifact type is not changed unless another attribute value is changed.
So in order not to change the original artifact attributes I used Alternative Spellings  attribute (which seems unused) in which I put an incremental number(timestamp) in order to force the server to update also the artifact type.

Maybe this issue will be solved in the future versions in order to avoid this additional hack's, because the Jazz API's (OSLC + others)  are already complicated enough.

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

Question asked: Apr 26 '22, 10:33 a.m.

Question was seen: 997 times

Last updated: May 20 '22, 3:50 a.m.

Confirmation Cancel Confirm