Skip to main content

Project Server Help Blog

Go Search
Project Server Help Blog
Project Server Experts Community
MSProjectExperts
Training Schedule
Contact Us
  

Project Server Help Blog > Posts > Use Twitter to Track Tasks and Time in Project Server 2007
 

 MS Project and Project Server Resources

 
Use Twitter to Track Tasks and Time in Project Server 2007

 

Task and Time Tracking: The Challenge

One of the most challenging aspects of a Microsoft EPM implementation can be motivating project Team Members to log in to PWA on a regular basis and submit their task updates or record their time spent on various activities. For those of us who are implementers, we realize the importance of timely, consistent, and accurate updates; without this, we lose the very foundation of accurate historical tracking in Project Server. It is therefore very important that we make the Team Member's job of tracking their work as simple and effortless as possible.

One school of thought suggests that the more often the Team Member stops, thinks about the work that they have performed, and makes record of it, the easier it will be for them to track their work accurately. In contrast, if a Team Member procrastinates (we have all done this) and sits down in front of PWA once a week (or more!), it is more difficult for them to remember the details of the work that they performed. I would argue that the toughest part of time tracking isn't the process of clicking through PWA and typing the keystrokes, but rather it is the process of trying to remember what I did and how much time I spent doing it.

 

If I can easily remember how much time I spent working on each task for each project, however, entering those updates into PWA is a piece of cake!

 

Enter Twitter

I must admit that until very recently, I was a grumpy old man when it came to Twitter. I thought that it was yet another silly social networking toy and that I was not going to jump onto the bandwagon this time. However, after receiving recommendations from a couple of friends and using the tool for a couple of weeks, I am not only a believer, but I am a huge fan. For those who are not familiar, Twitter (http://www.twitter.com) is an extremely lightweight statusing or micro-blogging tool. Many people use it in many different ways, but generally, people post short messages (up to 140 characters long) that they think others may be interested in reading. Perhaps you are working on something interesting, or perhaps the woman in line behind you at Starbucks is talking too loudly on her phone, so you decide to post a short message about it.

 

When it comes to Twitter, its simplicity is its power.

 

Twitter + Mobile = Easy Tracking

Question: If you are a Team Member, when is the best time to record the work that you have performed?

Answer: While you are doing the work... or immediately afterward.

 

This might not be a problem if you happen to work at your desk all day and can easily open a web browser, visit the PWA web site, and update your work. However, what if you are down the hall, in a separate building, or even in a completely different country? What if you do not have easy access to the internet?

 

You can post Twitter updates by logging in to their web site, or if you use a mobile phone with text messaging enabled, you can post updates right from your phone. This is where things start to get interesting for us...

Mixed in with your other Twitter posts (entered conveniently on your mobile phone) in which you update your friends about that funny New York Times article and how nasty the break room coffee is today, perhaps you sneak in a couple of updates about the work that you have been doing:

 

  • Check nyt.com! Palin did it again!
  • MOSS Implementation: Install SQL 100%
  • MOSS Implementation: Build app server 25%
  • Once again break room coffee smells like feet

 

Twitter has just become your mobile notepad for tracking task and time progress, and the next time that you sit down to update the status of your work in PWA, you can simply open up your Twitter page in a web browser to review your progress. In addition, if you have told your Project Manager how to monitor (or "follow", in Twitter-speak) your updates online, they can get some quick updates about your work even before you have updated PWA.

 

Useful Twitter Work Tracking Conventions

If Team Members choose to use Twitter to help keep track of their work, it may be useful for them to follow a standard convention. Following are a few examples:

The 'Install SQL' task in the 'MOSS Implementation' project is 100% complete:

MOSS Implementation: Install SQL 100%

 

The 'Install SQL' task in the 'MOSS Implementation' project has an 'Actual Start' date of 5/18 and is 50% complete:

MOSS Implementation: Install SQL as 5/18 50%

 

The 'Install SQL' task in the 'MOSS Implementation' project has an 'Actual Start' date of 5/18 and an 'Actual Finish' date of 5/25:

MOSS Implementation: Install SQL as 5/18/2009 af 5/25/2009

 

I spent 4 hrs working on the 'Install SQL' task in the 'MOSS Implementation' project:

spent 4h on MOSS Implementation: Install SQL

 

This is not necessary, but if it helps them to perform more timely and accurate updates, then it is worth it. Also, this type of standardization will become extremely important if you choose to customize your Project Server implementation to automatically read Team Members' updates from the Twitter web site (Twitter has a programming API available... but one step at a time).

 

Taking It a Step Further: Displaying Twitter Updates in PWA

Rather than opening two web browser sessions (one for PWA and the other for Twitter) and copying information from one web page into another, there is an easy way for Team Members to display their Twitter updates within PWA. In order to enable this, you will need administrative privileges for the PWA web site, since it will involve editing a PWA page, adding a Content Editor Web Part (CEWP), and adding a bit of HTML and Javascript to the CEWP.

If you are unfamiliar with manipulating PWA pages and adding the CEWP, here are a few articles that provide detailed information and examples:

Hacking PWA with Web Parts:

http://www.projectserverhelp.com/Lists/Posts/Post.aspx?ID=7

 

Hacking Project Server 2007 Timesheets -- Hiding Planned Work Rows:

http://www.projectserverhelp.com/Lists/Posts/Post.aspx?ID=8

 

YAPH -- Disabling Start and Finish Editing on the My Tasks Page

http://www.projectserverhelp.com/Lists/Posts/Post.aspx?ID=11

 

To enable a Team Member to view their latest Twitter posts on the 'My Tasks' page, follow these steps:

 

1. Log in to the PWA web site with an account that has administrative privileges.

2. Visit the 'My Tasks' page and switch it into 'editing' mode.

 

3. Add the Content Editor Web Part (CEWP) to the page.

 

4. Copy the following code into the 'Source Editor' for the CEWP:

<br/>

<span id=twitterform>

Twitter id:<br/>

<input type="text" name="twitterid" id="twitterid"><br/>

Number of Tweets:<br/>

<input type="text" name="tweets" id="tweets"><br/>

<button OnClick="javascript:fetch();">Fetch!</button><br/>

</span>

<div id="twitter_div">

<ul id="twitter_update_list"></ul>

</div>

<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>

<script type="text/javascript">

function fetch()

{

var twitterid = document.getElementById('twitterid');

var tweets = document.getElementById('tweets');

var apiurl = "http://twitter.com/statuses/user_timeline/" + twitterid.value + ".json?callback=twitterCallback2&count=" + tweets.value;

var headTag = document.getElementsByTagName('head').item(0);

var js = document.createElement('script');

js.setAttribute('language', 'javascript');

js.setAttribute('type', 'text/javascript');

js.setAttribute('src', apiurl);

headTag.appendChild(js);

}

</script>

 

5. Tweak the CEWP position, title, etc. as desired.

6. Switch the 'My Tasks' page out of 'editing' mode.

 

Any Team Member who chooses to use Twitter to track their work may now enter their Twitter user id as well as the number of updates ("tweets") they wish to fetch, and the Twitter viewer will display those updates within the PWA page for quick review:

 

If your organization has chosen to perform detailed time tracking via the Project Server Timesheets feature, then you can follow the same procedure to add the Twitter viewer to the 'My Timesheet' page within PWA:

 

In Summary

Millions of people use Twitter, and more are starting every day. Although people commonly use it as a social networking tool, it is a very simple yet powerful application that you can use to supplement business systems such as Project Server 2007. It allows people to not only easily keep track of their work while they are doing it, but it also allows those same people to track their work from anywhere using a mobile phone with text messaging or web service.

This is one very simple example of how you can use Twitter and Project Server 2007 together. If you want to take this concept several steps further, the folks at Twitter have published a programming API (Application Programming Interface) which describes how you might build a custom application which automatically fetches task or time updates and automatically feeds task status and timesheets.

Happy hacking!

Comments

Wow, cool!

Tony, this is really neat.  I wonder if companies would use something a bet more formalized with Twitter?  It sure gets lots of hype...
at 5/27/2009 3:18 PM

Re: Use Twitter to Track Tasks and Time in Project Server 2007

I noticed that Twitter is an extremely popular tool for Project Managers. Maybe twitter will create the concept of closed groups, where updates are only seen by people within a certain organization.
at 5/27/2009 7:27 PM

What about Yammer or Present.ly?

Your idea is on the right track, but personally I wouldn't like to inundate my twitter followers with a bunch of meaningless (to them) task updates...  Now, if you could do this for the "enterprise" equivalents, such as Yammer or Present.ly, then it would be awesome - do you think is possible, and as simple as this?
at 6/8/2009 7:57 AM

Technically Very Cool But...

I think this falls under the "Just because you can, doesn't mean you should."
at 8/13/2009 6:55 PM

I would use it under a Different ID

I try to keep my work and personal lives separate - at least in such public forums.

I can see using this, but would probably do it with a unique work or project-based UserID.  If others did this, you could subscribe to each others tweets, and create a project or team-specific tweet.  Can't see doing it with the personal, but then I don't use Twitter to broadcast that sort of stuff anyway, so it would be easy for me. 

Do you think "social" tweeters would have a problem with another, work-related ID???
at 8/29/2009 9:53 PM

THe code does not work

Hi Tony,

I kept the same code but its not working to fetch the tweets.Any thing i am missing ?Please help
at 10/31/2009 11:47 AM

this code does not work

Please help
at 11/2/2009 1:08 AM

Add Comment

Spam Test

Unfortunately, spammers have made our lives a bit more annoying.
Please help us take a bite out of spam.

Before submitting a comment, please prove that you are not a spam bot
by using the buttons to enter the number shown below:



          

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Commenter Name


Website URL

Type the Web address: (Click here to test)  

Type the description: 

Attachments