It's all about the answers!

Ask a question

Create an invitation work item for a specific team only


Jan Van de Poel (2413216) | asked Apr 15 '08, 12:04 p.m.
When you create the "invitation work items", is it possible to specify a work item that will only be created for a specific team?

5 answers



permanent link
Jared Burns (4.5k29) | answered Apr 15 '08, 1:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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:
When you create the "invitation work items", is it possible
to specify a work item that will only be created for a specific team?

permanent link
Jan Van de Poel (2413216) | answered Apr 16 '08, 12:04 p.m.
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?

permanent link
Jan Van de Poel (2413216) | answered Apr 16 '08, 12:15 p.m.
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."

permanent link
Jan Van de Poel (2413216) | answered Apr 16 '08, 12:23 p.m.
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...

permanent link
Jared Burns (4.5k29) | answered Apr 16 '08, 1:03 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Can you please file a defect with the details of your configuration to
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...

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.