Skip to content

TFS Work Items - Steps and Settings

Steps and Settings

Steps and Settings

Process steps in the Team Foundation Server (TFS) Work Items plug-in

Add Comment

Use this step to add comments from the current changelog to matching TFS defects.

NameTypeDescriptionRequired
Additional CommentStringInformation to be added to the TFS work item comment in addition to the commit comment. You can include HTML.No
TFS RepositoryThe TFS repository to connect to.Yes
Work Item ID PatternStringA regular expression to locate work item IDs in changelog comments. You can add parentheses around the part of the pattern that identifies the work item ID. For example, the pattern Workitem:([0-9]+) matches Workitem:123 using 123 as the work item ID. Enter a value here only if you are not using the TFS source control plug-in.No

Change Work Item State

Use this step to change the state of a TFS work item.

NameTypeDescriptionRequired
Defect IDStringA comma-separated list of work item IDs for the state of. To update all issues in the current build life, use the ${p:buildlife/issueIds} property.Yes
New StateStringThe state to change the selected work items to. For example: Active and Resolved.Yes
Reason for State ChangeStringThe reason for the state change. For example: Cannot Reproduce, Duplicate, Fixed, or Obsolete.Yes
TFS RepositoryThe TFS repository to connect to.Yes

Create Work Item

Use this step to create a TFS work item.

NameTypeDescriptionRequired
Assigned ToStringThe user to assign the work item to.No
DescriptionStringA description of the work item.No
ProjectStringThe name of the TFS project to associate the work item with.Yes
TFS RepositoryThe TFS repository to connect to.Yes
TitleStringThe title of the work item.Yes
TypeStringThe type of the work item. For example: Bug, Issue, Task, User Story, or Test Case.Yes

Publish Work Item Report

Use this step to create an issue report for the work items.

NameTypeDescriptionRequired
TFS RepositoryThe TFS repository to connect to.Yes
Work Item ID PatternStringA regular expression to locate work item IDs in changelog comments. You can add parentheses around the part of the pattern that identifies the work item ID. For example, the pattern Workitem:([0-9]+) matches Workitem:123 using 123 as the work item ID. Enter a value here only if you are not using the TFS source control plug-in.No

Roles in the TFS Work Items plug-in

NameTypeDescription
PasswordPasswordThe password to use to connect to the TFS Server.
Server URLStringThe TFS server URL.
TFS VersionEnumeration:
The version of TFS to use.
User NameStringThe user name to use to connect to the TFS Server.