index > Team Foundation Server - Work Item Tracking > WebService Create New Task/Bug

WebService Create New Task/Bug


Hi!

Where can I find the Webservice for tracking new Tasks(Bugs)?

I tried WorkItemTracking/v1.0/ClientService.asmx, but I could't find a method for new tasks?

Or have I write my own webservice?

Regards

Simon




Simon
Simon Gorski

Hi Simon, using the webservices directly is neither supported nor recommended by Microsoft, they recommend (and me also) use the object model instead.

You have a complete OM to work with work items, you can create and update every work item in your projects, and if you want to track new work items or changes to existing ones I would recommend you to use the eventing service avaliable in Team Foundation Server, which will allow you to create your own tracking web service, and subscribe it to the event of WorkItemChangedEvent, which is raised everytime you create or update a workitem, whrn this event is fired and if you have create the subscription it will call your own web service and send him the information about the update.

You can find more info about this and articles in MSDN, this forums, and also on the Visual Studio 2005 SDK, where you can find samples on that.

I hope this helps you.




Luis Fraile - MCSD.NET - http://luisfraile.spaces.live.com/
Luis Fraile

Ok thanks!

So I will write my own webservice.

regards

Simon




Simon
Simon Gorski
reply 3

You can use google to search for other answers

 

More Articles

Getting the server names cached on the local machine.
Difference between WorkItemLatest and WorkItemsAre
Hierarchical work items
Customize Query Variables
Field value restrictions for different users.
Migrating Work Items while preserving the same IDs
How to implement AssignTo combobox
How can I know who's link to my WI??
Extending Upload Documents Functionality
Exception on import: It was String, but now is HTML.
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Get Workflow using code
Having no one assigned to a Work Item
Work Item Tracking Custom Controls
System.InvalidOperationException when ca…
How to assign one workitem to two people…
Publishing to TFS improperly changes Sav…
Open WorkItem Editor
Can I Add a Customized Field Type for Wo…
TF80071 connecting MPP to Team project
Access is denied: Could not create metad…
How to create dependency among work item…
Adding Areas and Iterations via the obje…
Emergency: Deleting Custom Work Item Type
Comments are lost when workitem is expor…
How can I know who's link to my WI??

Hot Articles

FROZEN rule behaviour
Datasource to list all work items in a q…
Accessing TFS from a web app
Cannot Open Microsoft Project
Organizing Projects into Products or Cus…
limit control type links control to spec…
Publishing to TFS from Project 2003 rese…
Open source control
Readonly flag for System.ChangedBy field…
iteration milestone dates - report
Adding new project alerts?
How to add custom fields that works like…
WorkItem API problem: Cannot update Fiel…
Error TF50304 when creating project alert
Work Item Update Collisions

Recommend Articles

How to delete unwanted Work Items and se…
Error - Object reference not set to an i…
Using Work Items for enhancement requests
Any way to e-mail bugs to the server?
How The TFS publish the build numbers us…
VS 2005 Team automatically includes loca…
create WI custom field dependencies
Delete workitem CMMI Project
Problem with Workitem access control - d…
MS Project Mapping Problem
How to export QoS Work Item
Bulk update using MS Excel is very slow
Localized web server instance not launch…
Work items problem
Set permission of workitem to only "…