Team Members: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 6: Line 6:


===Team Members Sample===
===Team Members Sample===
    <font color=blue><!—</font>{{APIComment|The TeamMembers element may contain zero or more TeamMember elements.}}
    <font color=blue><!—</font>{{APIComment|A team member will be updated if the MemberUser matches an original team member. MemberUser and the MemberRole differs.}}
    <font color=blue><!—</font>{{APIComment|If the UpdateOnly setting is disabled, team members that do not have a corresponding original team member will be inserted. The member user must be unique across team members. }}
    <font color=blue><!—</font>{{APIComment|If the UpdateOnly setting is enabled and no orginal team members are found, no new team members will be inserted.}}
     {{Template:XFRACAS.Blue|<[[TeamMembers Element|TeamMembers]]>}}
     {{Template:XFRACAS.Blue|<[[TeamMembers Element|TeamMembers]]>}}
       {{Template:XFRACAS.Blue|<[[TeamMembers.TeamMember|TeamMember]]>}}
       {{Template:XFRACAS.Blue|<[[TeamMembers.TeamMember|TeamMember]]>}}
Line 14: Line 18:
           '''<font color=Blue><Login></font><font color=black>puser</font><font color=Blue></Login></font>'''
           '''<font color=Blue><Login></font><font color=black>puser</font><font color=Blue></Login></font>'''
         {{Template:XFRACAS.Blue|</MemberUser>}}
         {{Template:XFRACAS.Blue|</MemberUser>}}
        <font color=blue><!—</font>{{APIComment|The MemberRole element is required, and must be a [[Valid Issue]] with an IssueTypeId equal to 50 (Team Member Role).}}
         {{Template:XFRACAS.Blue|<MemberRole>}}
         {{Template:XFRACAS.Blue|<MemberRole>}}
           {{Template:XFRACAS.Blue|<Issue}} {{Template:XFRACAS.Red|IssueTypeID}}="50"{{Template:XFRACAS.Blue|>}}
           {{Template:XFRACAS.Blue|<Issue}} {{Template:XFRACAS.Red|IssueTypeID}}="50"{{Template:XFRACAS.Blue|>}}

Revision as of 18:39, 18 February 2015

XML Elements


Team Members Sample

   <!— The TeamMembers element may contain zero or more TeamMember elements. 
   <!— A team member will be updated if the MemberUser matches an original team member. MemberUser and the MemberRole differs. 
   <!— If the UpdateOnly setting is disabled, team members that do not have a corresponding original team member will be inserted. The member user must be unique across team members.  
   <!— If the UpdateOnly setting is enabled and no orginal team members are found, no new team members will be inserted. 
    <TeamMembers> 
      <TeamMember> 
        <MemberUser> 
         <FirstName>Pam</FirstName>
         <MiddleName>Isa</MiddleName>
         <LastName>User</LastName>
         <Login>puser</Login>
        </MemberUser> 
       <!— The MemberRole element is required, and must be a Valid Issue with an IssueTypeId equal to 50 (Team Member Role). 
        <MemberRole> 
          <Issue   IssueTypeID ="50" > 
            <Description>  Software Engineer  </Description> 
          </Issue> 
        </MemberRole> 
      </TeamMember> 
      <TeamMember> 
        <MemberUser> 
         <FirstName>Sam</FirstName>
         <MiddleName>Isa</MiddleName>
         <LastName>User</LastName>
         <Login>suser</Login>
        </MemberUser> 
        <MemberRole> 
          <Issue   IssueTypeID =50" > 
            <Description>  Project Lead  </Description> 
          </Issue> 
        </MemberRole> 
      </TeamMember> 
    </TeamMembers>