It's all about the answers!

Ask a question

Perl or shell Script for reference is needed to gather process role, members and team area from RTC/RQM


Raj Kapoor (2741928) | asked May 09 '13, 2:49 a.m.
edited May 09 '13, 2:51 a.m.
 Perl  or shell Script for reference is needed to gather process role, members and team area from RTC/RQM.

Hi, 

I have one Perl script which retrieve info from RTC/RQM and draft mail to user.
Information retrieved is Project area, team area and members but I need to edit script for process role.

Script is too complicated that's why I am planning for any new script.
RTC-3.0.0.2
Kindly let me know if you any perl or shell script for such issues.

Thanks for your support.

Accepted answer


permanent link
Arne Bister (2.6k12732) | answered May 21 '13, 4:30 p.m.
JAZZ DEVELOPER
Actually, I stand corrected. While there is no official (i.e. immutable) API yet, there IS a perl consumable API extending the OSLC bits for doing just what was asked for: retrieving membership, role assignment and setting it, too. I have not had the time to try it but the Perl bits are mentioned in article 1086 on jazz.net while the Team Process REST API is documented in the wiki.

Please share any results you have with this.

- Arne
Raj Kapoor selected this answer as the correct answer

3 other answers



permanent link
Arne Bister (2.6k12732) | answered May 09 '13, 11:17 a.m.
JAZZ DEVELOPER
Raj,

this entry in Ralph Schoons blog contains description and sample code for accessing project area members and roles via script. Does this provide what you need?

If this answers your question please mark this post as accepted.

- Arne

Comments
Raj Kapoor commented May 13 '13, 8:58 a.m.

Your code seems to be ok but I am not Java professional.

I am looking forward for perl script, as my code is in perl.

Thanks for your support. 


permanent link
Raj Kapoor (2741928) | answered May 13 '13, 8:58 a.m.
 Your code seems to be ok but I am not Java professional.
I am looking forward for perl script, as my code is in perl.

Thanks for your support.

Comments
Arne Bister commented May 13 '13, 9:26 a.m.
JAZZ DEVELOPER

Raj,

Sam is right, the OSLC API does not yet provide access to team membership and roles. You would need this for direct calls from (Perl) scripts via e.g. cURL. Would it be an option for you to use and call the java code from Perl to get at the information?

- Arne


permanent link
sam detweiler (12.5k6185201) | answered May 13 '13, 9:04 a.m.
I do not believe that this data is available via OSLC methods (which is what scripts are built on top of)

Your answer


Register or to post your answer.