It's all about the answers!

Ask a question

Adding members to projects via REST api


EclipseTalk . (32736161) | asked Jan 27 '16, 5:46 p.m.
 Hello,
Is it possible to add specific members to all Project Areas in RTC via REST api call?
Thanks in advance for the help.

Eric

Accepted answer


permanent link
Marek Siekierski (817510) | answered Jan 27 '16, 6:44 p.m.
Hello Eric,

The REST API is used for reporting only. You will not be able to add anything to the repository using this API.

https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#Introduction

However, you could look into writing a custom script using the Java API:

https://jazz.net/library/article/1229
https://jazz.net/downloads/rational-team-concert/releases/6.0.1/RTC-Client-plainJavaLib-API-javadoc-6.0.1.zip
EclipseTalk . selected this answer as the correct answer

Comments
1
Geoffrey Clemm commented Jan 27 '16, 9:58 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

It is correct that the "Reportable REST APIs" are read only, but RTC supports many REST APIs in addition to Reportable REST APIs (including, but not limited to, the OSLC APIs), and many of those other REST APIs do provide write access.  But I don't know whether there is a REST API for the particular function you are asking about.


EclipseTalk . commented Jan 28 '16, 7:51 a.m.

 Thank you

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.