EndPoint Query Work Items
Name
query_workitems
Description
Get work items associated with the specified project and organization that are filtered by a Wiql query. (A team can optionally be specified as well.). Read more about this API here https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/wiql/query-by-wiql?view=azure-devops-rest-7.0 and here https://learn.microsoft.com/en-us/azure/devops/boards/queries/query-operators-variables?view=azure-devops [API reference]
Parameters
Parameter | Label | Required | Options | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Project | Project Name | YES | The Name of the project. | |||||||
Query | Wiql Query | YES | The WIQL query (refer Azure DevOps Help to learn Wiql syntax. [API reference] | |||||||
Team | Team Id or Name | NO | Id or name of the team associated with the query. | |||||||
TimePrecision | Use time precision | NO |
|
Whether or not to use time precision. |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_I4
|
int
|
False | ||
Title |
DT_WSTR
|
nvarchar(1000)
|
1000 | False | |
Description |
DT_WSTR
|
nvarchar(4000)
|
4000 | False | |
WorkItemType |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
State |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
Url |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
Tags |
DT_WSTR
|
nvarchar(4000)
|
4000 | False | |
Revision |
DT_I4
|
int
|
False | ||
AreaPath |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
TeamProject |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
IterationPath |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
Reason |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
CreatedDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
ChangedDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
CommentCount |
DT_I4
|
int
|
False | ||
AssignedToDisplayName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
AssignedToUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
AssignedToLinksAvatarHref |
DT_WSTR
|
nvarchar(4000)
|
4000 | False | |
AssignedToId |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
AssignedToUniqueName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
AssignedToImageUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
AssignedToDescriptor |
DT_WSTR
|
nvarchar(2000)
|
2000 | False | |
CreatedByDisplayName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
CreatedByUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
CreatedByLinksAvatarHref |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
CreatedById |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
CreatedByUniqueName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
CreatedByImageUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
CreatedByDescriptor |
DT_WSTR
|
nvarchar(2000)
|
2000 | False | |
ChangedByDisplayName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ChangedByUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ChangedByLinksAvatarHref |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ChangedById |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ChangedByUniqueName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ChangedByImageUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ChangedByDescriptor |
DT_WSTR
|
nvarchar(2000)
|
2000 | False | |
Watermark |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
StateChangeDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
Priority |
DT_I4
|
int
|
False | ||
Triage |
DT_WSTR
|
nvarchar(1000)
|
1000 | False | |
StackRank |
DT_I4
|
int
|
False | ||
Blocked |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
TaskType |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
RequiresReview |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
RequiresTest |
DT_WSTR
|
nvarchar(100)
|
100 | False | |
ActivatedDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
ActivatedByDisplayName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ActivatedByUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ActivatedByLinksAvatarHref |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ActivatedById |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ActivatedByUniqueName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ActivatedByImageUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ActivatedByDescriptor |
DT_WSTR
|
nvarchar(2000)
|
2000 | False | |
ClosedDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
ClosedByDisplayName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ClosedByUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ClosedByLinksAvatarHref |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ClosedById |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ClosedByUniqueName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ClosedByImageUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ClosedByDescriptor |
DT_WSTR
|
nvarchar(2000)
|
2000 | False | |
ResolvedDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
ResolvedByDisplayName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ResolvedByUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ResolvedByLinksAvatarHref |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ResolvedById |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ResolvedByUniqueName |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
ResolvedByImageUrl |
DT_WSTR
|
nvarchar(2048)
|
2048 | False | |
ResolvedByDescriptor |
DT_WSTR
|
nvarchar(2000)
|
2000 | False | |
ResolvedReason |
DT_WSTR
|
nvarchar(4000)
|
4000 | False | |
AreaId |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
IterationId |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
RevisedDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
RemoteLinkCount |
DT_I4
|
int
|
False | ||
RelatedLinkCount |
DT_I4
|
int
|
False | ||
HyperLinkCount |
DT_I4
|
int
|
False | ||
ExternalLinkCount |
DT_I4
|
int
|
False | ||
History |
DT_WSTR
|
nvarchar(2000)
|
2000 | False | |
IntegrationBuild |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
FoundIn |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
OriginalEstimate |
DT_R4
|
real
|
False | ||
RemainingWork |
DT_R4
|
real
|
False | ||
CompletedWork |
DT_R4
|
real
|
False | ||
Size |
DT_R4
|
real
|
False | ||
Effort |
DT_R4
|
real
|
False | ||
TargetDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
StoryPoints |
DT_R4
|
real
|
False | ||
StartDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
FinishDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
DueDate |
DT_DBTIMESTAMP
|
datetime
|
False | ||
Discipline |
DT_WSTR
|
nvarchar(500)
|
500 | False | |
SystemInfo |
DT_WSTR
|
nvarchar(4000)
|
4000 | False | |
Steps |
DT_WSTR
|
nvarchar(4000)
|
4000 | False | |
ReproSteps |
DT_WSTR
|
nvarchar(4000)
|
4000 | False | |
[$parent.referenceName$] |
DT_WSTR
|
nvarchar(4000)
|
4000 | False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |