Share via


Ways to Get a WorkItem

The most basic function of the WorkItemStore is to get WorkItems. WorkItems are uniquely identified by ID (a positive integer) and Artifact URI. They can be obtained by specifying their unique ID or URI.

Additionally, you can retrieve previous versions of individual WorkItems by specifying the revision number or the date and time of a revision.

WorkItems can also be retrieved with a SQL-like query by using the Work Item Query Language.

In This Section

The following topics show the various ways to get a WorkItem.

How to: Get a WorkItem

How to: Get a Previous Revision of a WorkItem

How to: Get WorkItems with a WIQL Query

See Also

Other Resources

Work Item Query Language