lib/rally_user_helper.rb
# Creates a team membership URL for request against (undocumented, non-WSAPI and non-supported)
# team membership endpoint.
# Method: PUT
# URL Format:
# https://rally1.rallydev.com/slm/webservice/x/project/12345678910/projectuser/12345678911.js
# Payload: {"projectuser":{"TeamMember":"true"}}
# Where 12345678910 => Project OID
# And   12345678911 => User OID
Creates a team membership URL for request against (undocumented, non-WSAPI and non-supported)
team membership endpoint.
Creates a team membership URL for request against ( undocumented non - WSAPI and non - supported ) team membership endpoint .
def make_team_member_url(input_user_oid, input_project_oid)
      rally_url = @rally.rally_url + "/webservice/"
      wsapi_version = @rally.wsapi_version
      make_team_member_url = rally_url + wsapi_version +
          "/project/" + input_project_oid.to_s +
          "/projectuser/" + input_user_oid.to_s + ".js"
      return make_team_member_url
    end
def make_team_member_url ( input_user_oid , input_project_oid ) rally_url = @rally . rally_url + "/webservice/" wsapi_version = @rally . wsapi_version make_team_member_url = rally_url + wsapi_version + "/project/" + input_project_oid . to_s + "/projectuser/" + input_user_oid . to_s + ".js" return make_team_member_url end
Creates a team membership URL for request against (undocumented, non-WSAPI and non-supported)
team membership endpoint.
Creates a team membership URL for request against ( undocumented non - WSAPI and non - supported ) team membership endpoint .
input_user_oid
input_project_oid