Create an invitation work item for a specific team only
5 answers
In order to do this, you would customize the process for that team.
This would mean opening the team area editor, clicking the link to
create a "Process Customization" and then redefining the behavior of the
generate team invitation operation.
Take note that when you define the behavior for an operation, this
completely *replaces* the behavior that's specified for that operation
in the project area.
For example, say your project area is configured to create work items A,
B, and C when you generate a team invitation. If you want invitations to
your team to create work items A, B, C, and D, then you need to specify
all four of these work items when you configure the behavior for your team.
--
Jared Burns
Jazz Process Team
JanVdP wrote:
This would mean opening the team area editor, clicking the link to
create a "Process Customization" and then redefining the behavior of the
generate team invitation operation.
Take note that when you define the behavior for an operation, this
completely *replaces* the behavior that's specified for that operation
in the project area.
For example, say your project area is configured to create work items A,
B, and C when you generate a team invitation. If you want invitations to
your team to create work items A, B, C, and D, then you need to specify
all four of these work items when you configure the behavior for your team.
--
Jared Burns
Jazz Process Team
JanVdP wrote:
When you create the "invitation work items", is it possible
to specify a work item that will only be created for a specific team?
I have added a custom Process for my team area which looks like:
<team-customization xmlns="http://com.ibm.team.process">
<permissions>
</permissions>
<behavior>
<role id="default">
<operation id="com.ibm.team.process.client.acceptTeamInvitation">
<followup-actions>
<followup-action description="Run a query that displays the workitems assigned to the logged-in user." id="com.ibm.team.process.client.runAssignedWorkitemsQueryForAcceptInvitation" name="Run Work Item Query"/>
</followup-actions>
</operation>
<operation id="com.ibm.team.process.server.generateTeamInvitation">
<followup-actions>
<followup-action description="Creates a set of initial workitems assigned to a user when they are invited to join a team." id="com.ibm.team.process.definitions.server.createInvitationWorkItems" name="Create Invitation Work Items" xmlns="http://com.ibm.team.process/createInvitationWorkItems">
<workitems>
<workitem description="Enter description" summary="Test work Item"/>
</workitems>
</followup-action>
</followup-actions>
</operation>
</role>
</behavior>
</team-customization>
If I accept the team invitation, neither the work items are created nor is the run Query executed...
Am I doing something wrong?
<team-customization xmlns="http://com.ibm.team.process">
<permissions>
</permissions>
<behavior>
<role id="default">
<operation id="com.ibm.team.process.client.acceptTeamInvitation">
<followup-actions>
<followup-action description="Run a query that displays the workitems assigned to the logged-in user." id="com.ibm.team.process.client.runAssignedWorkitemsQueryForAcceptInvitation" name="Run Work Item Query"/>
</followup-actions>
</operation>
<operation id="com.ibm.team.process.server.generateTeamInvitation">
<followup-actions>
<followup-action description="Creates a set of initial workitems assigned to a user when they are invited to join a team." id="com.ibm.team.process.definitions.server.createInvitationWorkItems" name="Create Invitation Work Items" xmlns="http://com.ibm.team.process/createInvitationWorkItems">
<workitems>
<workitem description="Enter description" summary="Test work Item"/>
</workitems>
</followup-action>
</followup-actions>
</operation>
</role>
</behavior>
</team-customization>
If I accept the team invitation, neither the work items are created nor is the run Query executed...
Am I doing something wrong?
after 10 min I received a mail to inform me about the work item.
I am running my server on localhost, is it normal that it takes this long (no other big processes are running on my machine at this time)?
Does this specification override everything from the general spec? In the TeamProcessDeveloperGuide I found the following quote:
"The specification of an overriding configuration in the team customization looks similar to the process specification with the difference that it only talks about the iterations and roles whose configurations it wants to override."
I am running my server on localhost, is it normal that it takes this long (no other big processes are running on my machine at this time)?
Does this specification override everything from the general spec? In the TeamProcessDeveloperGuide I found the following quote:
"The specification of an overriding configuration in the team customization looks similar to the process specification with the difference that it only talks about the iterations and roles whose configurations it wants to override."
Can you please file a defect with the details of your configuration to
track this issue?
Thanks,
--
Jared Burns
Jazz Process Team
JanVdP wrote:
track this issue?
Thanks,
--
Jared Burns
Jazz Process Team
JanVdP wrote:
I've tested it again:
1. The work item is created and assigned to the new user.
2. The
com.ibm.team.process.client.runAssignedWorkitemsQueryForAcceptInvitation
does not give any results...