Archive for January, 2009

How-to: Track Tasks with Queries, Not Email

Wednesday, January 28th, 2009

Applies to: Tasktop Pro, Tasktop Starter and Mylyn
Level: Introductory
Summary: Learn how to track tasks with Tasktop’s Queries, eliminating task update emails

UPDATED on January 30, 2009: We’ve revised the best practice to simplify the configuration and avoid duplicate tasks in the task list. We will address more advanced configurations in an upcoming how-to.

Tracking Changes with Tasktop

When working in a team tasks change quickly. The team lead raises the priority of your task, a co-worker indicates your task is blocking his work, or a domain expert responds to your task-related question. Keeping up with these changes, while still making progress on your tasks, can be overwhelming. Fortunately, Tasktop can help reduce this burden by automatically tracking relevant tasks with Queries. A Query specifies the tasks that are relevant to you, such as tasks you are in charge of completing. Creating a Query downloads and periodically updates tasks directly in your Task List, eliminating the need for checking email updates or refreshing web interfaces. These advantages and others make Queries an important part of Tasktop users’ workflow.

Is your email inbox cluttered with task updates?
Screenshot 1: Is your email inbox cluttered
by task updates?

In this article we’ll walk you through the mechanics of setting up a single Query as well as introduce best practices on creating a set of Queries that monitors all relevant tasks.

Why Eliminate Task Email?
Simply put, email is the wrong technology for tracking task updates; the large number of task updates per day clutter your inbox, the emails are disconnected from your ToDo List, and the importance of any particular task update is unclear. Tasktop eliminates the need for these emails, showing updates directly in the Task List, where task priority and task state (e.g., new task, incoming change, outgoing change) is readily visible. Tasktop can return sanity to your inbox.

Mechanics: Creating a Query

Creating a Query in Tasktop is simple assuming one prerequisite. You must first configure a Task Repository (see previous post), which, fortunately, is a straightforward task. Assuming you’ve configured a repository, follow these steps to create a query:

  1. Right click on the Task List and select “New Query” (see Screenshot 2)
  2. In the resulting dialog select the appropriate Task Repository
  3. Fill out the Query creation form and press “Finish” (see Screenshot 3 for Bugzilla’s form)
Creating a New Query
Screenshot 2: Creating a new Query

While this form includes many options to empower the advanced user, simple queries are easy to create and beginners can leave most fields blank. See the “Best Practices” section below for example form values that create common Queries.

Bugzilla Query Form
Screenshot 3: Bugzilla’s Query creation form is
shown. Other repositories, such as JIRA, have
a similar query form.

Task Synchronization
Once created, Queries automatically download relevant tasks and periodically synchronize with the task repository, ensuring that your Task List is always up-to-date. You can adjust the automatic synchronization interval by navigating to Window -> Preferences -> Tasks. You can also manually synchronize by right-clicking on a task or query and clicking “Synchronize”. When updating, a Query or Task will be displayed in italics in the Task List (see Screenshot 4).

A Task During Synchronization
Screenshot 4: Task 3778 (in italics) is being
synchronized and Task 3817 has already finished.

Once a Task or Query is updated Tasktop will create visual indicators in the Task List (see Screenshot 5). In the example below Tasks 2 and 11 have changed since they were last viewed and Task 15 is a new task has not yet been viewed. A single scan allows you to know which tasks are updated, which are new, all within the context of your Task List, which is sorted by priority and scheduled date. When using the Task List to stay updated you can eliminate task update emails. As a final step to eliminate these emails we recommend turning off email notifications on your Task Repository (see “Turning Email Updates Off” below).

Task List with Notifications
Screenshot 5: A Task List with notifications: arrows indicate
updates and arrows with ?s indicate new tasks.

Turning Email Updates Off

We recommend that you either turn off email notifications for your Task Repository or create a filter to move these messages out of your Inbox. Since Tasktop keeps you updated on the status of your Tasks you no longer need these emails cluttering your Inbox.

To turn off email notifications in Bugzilla visit the “Preferences” page and select the “Email Preferences” tab. On this page, unchecking all boxes and clicking submit will disable email notifications.

To create a filter (called a Rule) in Outlook 2007, select “Tools” – “Rules and Alerts” and create a new Rule. When completing the new Rule wizard select “Move messages from someone to a folder” as your Rule template and enter the Task Repository’s outgoing email address (e.g., bugzilla-daemon@eclipse.org) as the email. Enter a folder named after your Task Repository as the target where filtered messages should be stored.

Best Practices: Crafting a Smart Set of Queries
Tasktop allows significant configurability when deciding which queries to put in your Task List. To achieve the full benefit, we recommend you try the following guidelines when setting up your Task List. Do this for every task repository of interest.

  1. Set up a single query for all tasks assigned to you.
  2. Set up another query for all tasks that you’ve reported, commented on, or been CC’d on.

If you follow these guidelines you will end up with a Task List that is similar to this one:

Task List showing best practice queries

This query set focuses you on the tasks you own (“All Mine”) while keeping you in the loop on the tasks where your input is needed (“All Related”). To setup these queries, use the following parameters in the Bugzilla query form.

Intent
Query parameters
All the tasks assigned to me Query Title: All Mine,
Email: my_email@my_company.com,
Owner: Checked
All the tasks assigned to others where my input is relevant Query Title: All Related,
Email: my_email@my_company.com,
Reporter: Checked,
CC: Checked,
Commentor: Checked,
Email2: my_email@my_company.com,
Owner: Checked,
Matching: notregexp

In some cases, it’s also desirable to create queries to easily track the tasks of people you collaborate with closely. We will address this more advanced case in an upcoming how-to.

Now that your Task List is populated you are better prepared to deal with a busy workweek. New tasks may be assigned to you and priorities may change but your Queries will keep you up-to-date. You’ll be able to focus on the task at hand, knowing that you’ve offloaded significant responsibility to Tasktop.

Be more productive. Guaranteed.

Community News, January 21, 2009

Wednesday, January 21st, 2009
Controlling Your Attention is the New Work Ethic By Gina Trapani
Check out this lifehacker.com post and the follow-up comment by mark_k. mark_k points out how Tasktop helps control attention by working like a GTD inbox, tracking the context of files needed for a task, and providing task-based time tracking.
 
Your Time by Shri
This thoughtful article proposes ways to extend Mylyn to better support task-focused time tracking. Interestingly, much of what the author has in mind is already available in Tasktop. “I have always been curious about how I spend my time. It would be useful or at the very least cool, if I could figure out what I did with the 24 hours I get each day. Considering that this is overkill, it would be useful to find out how much time I spend on each task / client at work…”
 
Eclipse + Mylyn + SourceForge by Metasimian
This post poetically points out the benefits of Mylyn, where to find the documentation for connecting Mylyn to SourceForge, and a helpful tip to get it working. “Mylyn is about mental noise reduction … For those of us with a goldfish’s short-term memory, it is a godsend.”
 
Eclipse Plug-ins (Your Chance to Win A Copy) by James Sugrue
A review of the new “Eclipse Plug-ins” book, which includes content on Mylyn. “This is the third edition of the RCP book, originally titled Eclipse: Building Commercial-Quality Plug-ins. The change in title represents the importance of this book. It has become the definitive book on plug-in development, and since I received my copy it hasn’t left my desk.”
 
Getting the Mylyn Source Using a PSF File by Rob Williams
Thinking of contributing to the Mylyn open source project? Rob Williams explains how to check out the source code in one easy step. “…Now, once you get the psf file, it is a HUGE boon. You simply import it and it even lets you bring all the listed projects into their own Working Set.”
 

Be more productive. Guaranteed.

How-to: Connect to a Repository

Wednesday, January 14th, 2009
Applies to: Tasktop Pro, Tasktop Starter and Mylyn
Level: Introductory
Summary: In this article you will learn how to connect Tasktop to Task Repositories such as JIRA, CollabNet, Rally, and Bugzilla

We’re pleased to announce the first in a series of “How-to” posts that will help you make the most of the task-focused technology in Tasktop and Mylyn. We’ll start with basic topics for new users and then move on to techniques and best-practices for advanced users. Enjoy!

Teaming Up with Tasktop

Although you can always create “local tasks” to streamline your workflow, the full benefits of task-focused productivity are realized when working together as a team. When working as a team, you create shared tasks in a Task Repository. A “Task Repository” is any system that tracks a team’s work items such as bugs, tasks, issues, defects, stories, etc. When sharing tasks using a Task Repository, Tasktop streamlines your team workflow. For instance, Tasktop provides task updates in real time, eliminating lag, and makes it easy for users to share task-relevant comments, files, and contexts, reducing unnecessary emails and file searches. To begin enjoying these benefits each teammate should install Tasktop Starter (Free) or Tasktop Pro and the team should have one (or more) Task Repository.

Tasktop is compatible with many popular Task Repositories (see the full list to check if yours is supported).

Installing a Certified Connector

1. Installing a Connector

Setting up Tasktop to connect to your team’s repository involves two steps. First you will need to install the appropriate connector, which is a single click for Tasktop Certified Partner Connectors. Second, you will need to configure Tasktop’s settings to connect to your team’s repository.

To install the appropriate connector you will need to know what type of Task Repository your team uses (e.g., JIRA, CollabNet, Rally, etc.). If your team does not yet have a Task Repository there are many that are compatible with Tasktop (see the full list). Tasktop comes with the Bugzilla connector pre-installed, so if your team uses Bugzilla as your Task Repository you can skip to step 2.

Installing Certified Connectors

Certified partner connectors are certified by Tasktop Technologies to ensure quality and usability and can be easily installed from Tasktop. If you’re a Mylyn user you need to upgrade to Tasktop Starter (Free) or Tasktop Pro to use this easy installation feature. Alternatively, Mylyn users can follow the instructions for uncertified connectors. Connectors for JIRA, CollabNet and Rally are Tasktop-Certified.

Installing a certified connector is a simple process. Select “Configure Tasktop” from the main toolbar, follow the “Partner Connectors” link, and click the “Install” link next to the appropriate connector (illustrated above).

Installing Uncertified Connectors

Dozens of other connectors are available so that Tasktop users can connect to popular task repositories. While these connectors are not certified by Tasktop, you may find that many of them work well. Some of the most popular uncertified connectors are Trac, Mantis, and XPlanner. A full list is available here.

To install uncertified connectors you will need the update URL for your connector, which can be found on this listing. The Update URL for Trac is http://download.eclipse.org/tools/mylyn/update/extras. You will then need to add the Update URL as a new update site and click through the install process.

Once you have the update URL, first open the “Software Updates” menu:

Opening “Software Updates”

Then click “Add Site” and paste your update link. Once your site appears in the list make sure it is checked and click “Install”.

Adding the Update URL

Once you have installed your connector it is simple to verify whether the installation was successful. Open the Task Repository view and click “Add Task Repository” (see the next section for detailed instructions on how to open this view). If the repository type appears in the resulting wizard then the install process was successful. Below, Tasktop is shown with Bugzilla, Generic IMAP, GMail, and JIRA successfully installed.

Confirming a Successful Install

2. Adding a Task Repository

Once you have installed your connector you will need to add a Task Repository to Tasktop to access your tasks. Here we will walk through the process of adding a JIRA repository. Adding other repositories follows the same process except for the final configuration form, which has a few necessary differences for each repository type.

First, open Tasktop’s Configuration Page to open the Task Repositories view and click on “Add Task Repository”. In the resulting dialog select “JIRA” and click “Next”.

Adding a Task Repository

Next, fill out the Repository Settings form with the URL, username, and password necessary to connect to your Task Repository. When you are finished you can press “Validate Settings” to verify your settings.

Configuring a Task Repository

After pressing “Finish” your repository should appear in the Task Repositories view. Below is the repository created by the above form. Notice that the Task Repository has a decoration to indicate its repository type (i.e., JIRA as opposed to the “Tasktop Support” repository whose type is Bugzilla) and that the Label entered above is used in the Task Repository view.

Successfully Added Task Repository

Teamwork Ready

You’re done! Now you’ve successfully added a Task Repository to your configuration and Tasktop can begin streamlining your team workflow. To begin interacting with your team you will need to decide which tasks to download to your personal task list by creating Queries (right click on the Task Repository and select “New Query”). In the next post, we will introduce best practices on how to setup your Queries to best keep track of your tasks and keep you up-to-date on your team’s tasks.

Be more productive. Guaranteed.

Community News, January 7th, 2009

Wednesday, January 7th, 2009

This week we’d like to highlight an insightful blog post by David Green. David has applied Mylyn’s degree of interest model to focus complex diagrams on only the interesting elements. You may also be interested in a set of slides from a talk by Avishay Halperen and Ori Dar that concisely introduce the Mylyn framework and some of the technologies that build on it.

Mylyn Context-Driven Domain Diagram by David Green
“After some thinking I realized that the answer to developer productivity was sitting right in front of me: Mylyn task context-driven diagrams. Why can’t the MDD tooling create and maintain a domain diagram based on the interesting domain elements in the active Mylyn context?”
 
Keep on sMylyn by Avishay Halperen and Ori Dar
These slides from Avishay Halperen and Ori Dar’s recent talk at JavaEdge 2008 provide a fresh prespective on the Mylyn framework. Halperen and Dar review key concepts, features, extensions, and how Tasktop and the SpringSource Tool Suite build on Mylyn.
 
Mylyn WikiText at EclipseCon 2009 by David Green
“I’m very excited to be there presenting this new technology alongside Steffen Pingel, who will be providing a Mylyn connector crash course.”
 
EclipseZone’s Top 10 Articles of 2008 by James Sugrue
“Tasktop for Eclipse - Get More out of Mylyn” by Rob Elves came in at #5 in EclipseZone’s list of most read articles in 2008
 

Be more productive. Guaranteed.