You are previewing Team Foundation Server 2013 Customization.
O'Reilly logo
Team Foundation Server 2013 Customization

Book Description

Learn how to customize TFS and create useful plugins for your organization

In Detail

Team Foundation Server offers you the benefit of having all your data in one system with all tools tightly integrated with each other, making it easier for teams to work together. Knowing how to customize the Team Foundation Server is very useful as well as powerful. Having the knowledge and applying it to TFS can save users many hours as well as make it easier to understand the data in TFS for reporting purposes.

This book will show you how to customize various TFS features in order to create an enhanced experience for your users and improve their productivity. You will create custom controls that will be used in client applications and inside the web access. Next, you will learn how to embed a web page inside your work items to display rich information linked to the work items you are opening.

This book will show you how to modify a team’s process template, and then slowly get to grips with some C# code and create a scheduled job.

Using this book, you will create a JavaScript web access plugin that greatly increases productivity. You will start off by making various modifications to the process template to illustrate how we can cater to custom data requirements, and then we will move towards writing code to perform more complex customizations.

Customizing Team Foundation Server 2013 is one of the best methods you can use to provide rich data for reporting in TFS.

What You Will Learn

  • Create and modify pieces of the TFS Process template
  • Customize the dashboard of teams with useful information
  • Extend the task and portfolio boards with meaningful information
  • Develop custom controls that change the way users interact with data
  • Make server plugins that will help add some business rule validation to TFS Check ins and work item data changes
  • Implement scheduled jobs that will enforce advanced business rules based on a schedule
  • Extend the build process to cater to more complex builds
  • Reference external services as part of a build to provide awareness of new binaries
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Team Foundation Server 2013 Customization
      1. Table of Contents
      2. Team Foundation Server 2013 Customization
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Customizing the TFS Process Templates for Your Business
        1. Prerequisites or tools
        2. Customizing the TFS work items
          1. Adding a new field using the TFS Power Tools
          2. Adding a field to the work item form layout using the TFS Power Tools
          3. Importing a WITD using the TFS Power Tools
          4. Adding a new field using the raw .xml files
          5. Adding a field to the work item form layout using the raw .xml files
          6. Altering the work item workflow using the raw .xml files
          7. Importing a WITD using the raw .xml files
        3. Adding a new portfolio to the process template
          1. Creating a new work item type definition
          2. Adding a new portfolio backlog
          3. Adding a new work item category
          4. Importing a new work item portfolio
            1. Importing the work item type definition
            2. Importing the categories file
            3. Importing the process configuration file
        4. Summary
      9. 2. Increasing Web Access Usability
        1. Customizing TFS dashboard tiles
          1. Adding a tile to the dashboard
          2. Pinning build definitions to the team dashboard
          3. Pinning recent changes to the dashboard
        2. Changing the default columns for portfolio boards
        3. Adding fields to the add panels
        4. Creating a basic JavaScript plugin
          1. Getting started with an empty plugin
          2. Importing a plugin into TFS Web Access
          3. Setting up the debug mode
            1. Enabling the Script Debug Mode
            2. Configuring a Fiddler AutoResponder rule
          4. Adding information to display work items
        5. Summary
      10. 3. Enhancing Work Items with Custom Controls
        1. Creating a Windows Forms control
          1. Writing the code
          2. Deploying the code
          3. Debugging the code
        2. Creating a control for use inside the Web Access
          1. Writing the code
          2. Deploying and debugging the code
        3. Using the control on an existing work item definition
        4. Displaying a web page with rich data inside a WITD
        5. Summary
      11. 4. Creating Server Plugins
        1. Using a TFS plugin over a check-in policy
        2. The basics of a server plugin
          1. Setting up the code
          2. Deploying server plugins
          3. Debugging server plugins
        3. Creating a check-in plugin
        4. Creating a work item changed plugin
        5. Summary
      12. 5. Creating TFS Scheduled Jobs
        1. Creating a TFS job
          1. Writing the code
          2. Deploying the code
          3. Registering the custom job and adding it to a schedule
          4. Verify that the job is installed
        2. Checking the job history
        3. Debugging a TFS job
        4. Deregistering the custom job with TFS
        5. Summary
      13. 6. Customizing a TFS Build Process
        1. Creating a copy of the default build template
          1. Downloading the default template
          2. Using the template in a build
        2. Creating a custom build activity
          1. Creating the custom activity project
          2. Zipping the current build
          3. Uploading the ZIP file to FTP
          4. Sharing the build number and URL with the ZIP file
        3. Adding a custom activity to an existing build template
          1. Creating a build template project
        4. Adding a build template argument
        5. Summary
      14. Index