It's all about the answers!

Ask a question

[CCM] Create / modify work item via reportable REST API


Jochen Widmaier (167) | asked Oct 08, 4:16 a.m.

 Hi everybody,


Is it possible to create or change work items in RTC CCM via the reportable REST API (not the OSLC API!)? 
Do you have any examples or guidelines?

Thank you,
Jochen

Accepted answer


permanent link
Ralph Schoon (59.4k23642) | answered Oct 08, 5:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 It is called REPORTABLE REST API for a reason. I am not aware that you can use it for anything other than read. 

Jochen Widmaier selected this answer as the correct answer

Comments
Jochen Widmaier commented Oct 08, 5:43 a.m.

 Hi Ralph,


Thanks for your answer. I knew the page you linked and it says, that the way how you GET things was changed in contrast what you would expect from a traditional REST API. But it didn't say anything about creating or changing work items. Therefore I expected, that it might be possible.
From the way you get one work item (with the search term), I can imagine, that changing work items might not work. But creating (PUT) work items might be possible. 
I asked, because I used the reportable REST API for my former use cases since a long time. But now I am crossing a use case, where I need to modify a work item and actually don't want to move away from my current approach and learn the OSLC API. But it seems that I have too (rofl).

Thank you very much,

Jochen 


Ralph Schoon commented Oct 08, 7:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Welcome in da club. I am in the same position. See https://rsjazz.wordpress.com/2021/09/29/using-the-ewm-rest-and-oslc-apis/ 


I do not see any other operations mentioned than GET for reportable REST it also only mentions reporting. Note that the data formats might be incompatible. Do not mix OSLC and reportable REST if you are not sure. Note that the Reportable REST API exposes more and other data than the OSLC API. E.g. wi-approvals are only available in the reportable REST API. 


Ralph Schoon commented Oct 08, 7:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Oh, and please accept the answer if it is correct. I don't mind you keep it open for some days though. Maybe others know different.


Your answer


Register or to post your answer.