As a consultant, I have been exposed to many different development methodologies and processes. In most cases, assignments are performed by a person that is aware of staff resources and distributes tasks according to the availability of these resources.

In some cases, I have seen more of an “up for grabs” assignment policy.  This means each user ‘self assigns’ items to himself/herself.  The reason I often hear for this approach is that it is supposed to give the assignee more ownership of the item and ensures that each team member does not have more than he/she can handle.  I have seen this mostly with software development shops that practice some form of SCRUM.

In TestTrack, assignments are performed through a workflow event.  A user invokes an Assign event and chooses the user to assign the item to.  If you want to assign something to yourself, you invoke the Assign event in the workflow and choose your name from the list of users.

For this post, I’d like to show you how you can create a “grab” event.  When a user invokes this event, the item will get auto assigned to that user without showing a dialog to the user.  This event will make “grabbing” items a lot easier and faster for users.

Step 1 Create Grab workflow event

Create a workflow event called Grab.  Not going to go into details on how to create workflow events, but here are some of the settings selected:

Result State: No State Change

Assignment: Event clears the current assignment

Option to not show the dialog box for this event is selected

The workflow icon “Generic_Pull_Hand” is selected.

The following image shows the configuration for all the options and the icon.

Configuration for Grab event

Configuration for Grab event

Step 2: Set up state transitions

Workflow state transitions control the availability of events when an item is in each state.  Here we define where the Grab event will be available to the users.  The following image shows the grab event available to items that are in the Open, Approved and Fixed states.

State transitions for Grab event

State transitions for Grab event

Since the Grab event needs to fire the Assign event for the auto assignment to take place, the Assign event must also be available from the same states.

Step 3: Set up trigger to auto assign item to user

The last part is to set the trigger that will actually perform the assignment.  Simply create a trigger that, when the Grab event is entered, auto assigns the item to the “last user to enter the Grab event”.  The following image shows how the trigger could be configured.
Grab Event Trigger
Grab Event Trigger

You are now ready to ‘grab’ items in TestTrack!

Grab Button in Workflow Toolbar

Grab Button in Workflow Toolbar

What is the point to all of this?

Some of you may be wondering why you would want to create more events in the workflow to perform assignments. The reason is to make it easier for your users to use TestTrack.  Some of the complaints from users may be that it takes too many mouse clicks to do certain tasks.  With the Grab event, you reduce the process of self assigning items to a single mouse click. With the regular Assign event, it could take four mouse clicks.

Share on Technorati . del.icio.us . Digg . Reddit . Slashdot . Facebook . StumbleUpon

Related posts:

  1. How to display a workflow event field on the main window
  2. Better Workflow Metrics in Grouping Reports
  3. Pulling data from workflow events
  4. Managing the Documentation Review Processs with Surround SCM
  5. Escalation Rules in TestTrack
4 Comments

Tags: , , , ,

4 Comments to Up for Grabs Assignments

TheDr
March 18, 2010

Thanks for the article. I had just asked a question similar to this on the forums. We do use a scrum methodoligy, but we also do not allow anyone to alter an object assigned to someone else. This means that the Grab event will not be available. I was hoping that there would be a way for the users to assign an object to themselves that is not assigned to anyone. At the moment there doesn’t seem to be a solution. If you have a suggestion, I would appreciate it. We are not willing to open up security to allow people to edit objects assigned to others at this time, so I think that limits us.

Fernando Cremer
March 19, 2010

Thanks for reading the article.

You bring up an interesting dilemma. The permission to “edit defects assigned to anyone” also includes assignments. An assignment is considered an edit and there currently isn’t a way to differentiate assignment as a separate edit. In your case you really only want to differentiate an assignment when it is not assigned to anyone (otherwise you could circumvent the security setting by assigning anything to you).

You *might* be able to accomplish this using automation rules. They allow you to prevent things, including changes. You use a filter as a pre condition (i.e., the condition you want to prevent). So you will need to be creative and figure out how to create a filter that returns all items that are specifically assigned to other users (i.e., NOT assigned to current user and NOT not assigned).

So if someone tries to change an item that passes the filter (NOT assigned to user and NOT not assigned), then the system will prevent the change.

Keep in mind that the prevent action will not be enforced until the user tries to apply the changes.

Fernando Cremer
March 19, 2010

One thing I forgot to include in the above comment. The automation rule to prevent the change would replace the permission to “edit defects assigned to anyone”, well the lack of permission.

TheDr
March 25, 2010

Thanks for the reply. Is a very interesting possibility. As I test it I find that assigning an object to someone else is not a possibility. If assign it to someone else, then before the save it no longer is assigned to me and therefore I am prevented from saving. I also would like to allow the administrative user to assign anything to anyone. During our scrum, there are decisions made and since I am the only one with the product up, I make the assigments on the spot. I am beginning to believe that the automation rules and filters are not complex enough to do what we want. I guess we will work around using administrative rights to assign where needed.
Neat possibility though. Always stretches my brain cells a bit to think in the double negative.

Leave a comment

WP_Big_City

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree

Page optimized by WP Minify WordPress Plugin