It's all about the answers!

Ask a question

Is there an API to send a project team invitation email?


HIROAKI JOSAKO (31116) | asked Oct 27 '20, 5:12 a.m.

I want to send an invitation email after registering a user using the REST API. Is there a way?
The following Draft API is used for user registration.

https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi


Accepted answer


permanent link
Kevin Ramer (4.5k6167186) | answered Oct 27 '20, 4:59 p.m.

Well, there is nothing really "magic" about the content of the team invitation notice; it is easily created.  My team uses a custom application to request/approve/create/remove Jazz Project accesses.  The process on the create step sends an email whose partial (redacted) content is:

========================================================================
For the RTC Eclipse Client ONLY

In the RTC Client choose File & Accept Team Invitation. Copy the invitation below and paste into the Accept Invitation text field. Do not include the "Start" and "End" lines.Start of Invitation

teamRepository=https://rtp-rtc7:9443/jazz
userId=theuser@dom.com
userName=John
projectAreaName=Requested Project Area
End of Invitation

Should be easy to do in your work flow if your automation adds the ID to Jazz.

HIROAKI JOSAKO selected this answer as the correct answer

Comments
HIROAKI JOSAKO commented Oct 28 '20, 2:18 a.m.

Thanks! Kevin
I wanted to do it automatically from Excel, but it seems to be irritating

Your answer


Register or to post your answer.