Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Python APIs to automate administrator functionalities of RTC tool

We wish to automate the administrative functionalities of RTC tool like create project area, import users, assigning privileges etc..

For achieving this we require Python REST APIs which will help us connect to RTC tool and perform some basic operations.

We tried implementing login module with the help of this link (https://hub.jazz.net/project/dtoczala/Python%20Jazz%20client/overview), and were successful with some modifications in the code.

But we are unable to proceed further because for every single functionality there are multiple sequential API calls which is not feasible for us.

If anyone knows anything in this respect please let me know.

0 votes



One answer

Permanent link
Do you "have to" use Python? There are plenty of examples around here implementing OSLC/REST API in Perl, and even cURL. All you need to do is to "translate" the code from Perl (or cURL) to Python. The OSLC/REST URLs would be the same in all cases, and you just need to handle HTTP headers, cookies and POST data, and parse response differently and appropriately in each scripting language.

1 vote

Comments

Thanks for the response.
Can you give us a link where we can find the REST API's in Perl or cURL ?
It would be a great help.

Use these terms in Google - "oslc rtc site:jazz.net", "oslc rtc perl site:jazz.net" or "oslc rtc curl site:jazz.net".

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

Question asked: Mar 31 '15, 9:26 a.m.

Question was seen: 5,232 times

Last updated: Apr 02 '15, 5:39 a.m.

Confirmation Cancel Confirm