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|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|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 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.}}
::<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>}}
      {{Template:XFRACAS.Blue|<[[TeamMembers.TeamMember|TeamMember]]>}}
:::{{Template:XFRACAS.Blue|<TeamMember>}}
        {{Template:XFRACAS.Blue|<MemberUser>}}
::::{{Template:XFRACAS.Blue|<MemberUser>}}
          <font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
:::::<font color=Blue><FirstName></font><font color=black>Bob</font><font color=Blue></FirstName></font>
          <font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
          <font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
:::::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
          '''<font color=Blue><Login></font><font color=black>puser</font><font color=Blue></Login></font>'''
:::::'''<font color=Blue><Login></font><font color=black>Buser</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).}}
::::<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 Element|Issue]]}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"50"}}{{Template:XFRACAS.Blue|>}}
            {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Software Engineer}}{{Template:XFRACAS.Blue|</Description>}}
::::::{{Template:XFRACAS.Blue|<[[Issue.Description|Description]]>}}{{Template:XFRACAS.Black|Software Engineer}}{{Template:XFRACAS.Blue|</[[Issue.Description|Description]]>}}
          {{Template:XFRACAS.Blue|</Issue>}}
:::::{{Template:XFRACAS.Blue|</[[Issue Element|Issue]]>}}
        {{Template:XFRACAS.Blue|</MemberRole>}}
::::{{Template:XFRACAS.Blue|</MemberRole>}}
      {{Template:XFRACAS.Blue|</[[TeamMembers.TeamMember|TeamMember]]>}}
:::{{Template:XFRACAS.Blue|</TeamMember>}}
      {{Template:XFRACAS.Blue|<[[TeamMembers.TeamMember|TeamMember]]>}}
:::{{Template:XFRACAS.Blue|<TeamMember>}}
        {{Template:XFRACAS.Blue|<MemberUser>}}
::::{{Template:XFRACAS.Blue|<MemberUser>}}
          <font color=Blue><FirstName></font><font color=black>Sam</font><font color=Blue></FirstName></font>
:::::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
          <font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
          <font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
:::::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
          '''<font color=Blue><Login></font><font color=black>suser</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>}}
        {{Template:XFRACAS.Blue|<MemberRole>}}
::::<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|<Issue}} {{Template:XFRACAS.Red|IssueTypeID}}=50"{{Template:XFRACAS.Blue|>}}
::::{{Template:XFRACAS.Blue|<MemberRole>}}
            {{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Project Lead}}{{Template:XFRACAS.Blue|</Description>}}
:::::{{Template:XFRACAS.Blue|<[[Issue Element|Issue]]}} {{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"50"}}{{Template:XFRACAS.Blue|>}}
          {{Template:XFRACAS.Blue|</Issue>}}
::::::{{Template:XFRACAS.Blue|<[[Issue.Description|Description]]>}}{{Template:XFRACAS.Black|Project Lead}}{{Template:XFRACAS.Blue|</[[Issue.Description|Description]]>}}
        {{Template:XFRACAS.Blue|</MemberRole>}}
:::::{{Template:XFRACAS.Blue|</[[Issue Element|Issue]]>}}
      {{Template:XFRACAS.Blue|</[[TeamMembers.TeamMember|TeamMember]]>}}
::::{{Template:XFRACAS.Blue|</MemberRole>}}
    {{Template:XFRACAS.Blue|</[[TeamMembers Element|TeamMembers]]>}}
:::{{Template:XFRACAS.Blue|</TeamMember>}}
::{{Template:XFRACAS.Blue|</[[Team Members|TeamMembers]]>}}

Revision as of 17:59, 21 April 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>Bob</FirstName>
<MiddleName>Isa</MiddleName>
<LastName>User</LastName>
<Login>Buser</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>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> Project Lead </Description>
</Issue>
</MemberRole>
</TeamMember>
</TeamMembers>