Skip to content

danhellem/workitem-batch-update-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Samples to update and create work items in batch

Getting Started

Personal Access Token

You will need to create a Personal Access Token. For the work item batch API's, it appears you need a full scoped PAT.

You then need to Base64Encode the {username}:{personalaccesstoken} before it can be used by the REST Client. You can store this value locally in the VS Code Settings.json file.

REST Client

Download and install extension

Download the REST Client extension for Visual Studio Code

Settings.json

Add the following entries to the REST Client environment variables. These variables are used throughout the samples. You can also hardcode the values if that is preferred.

 "rest-client.environmentVariables": {
        "$shared": {
            "organization": "organization name",
            "project": "project name",
            "token": "base64encoded username:personalaccesstoken"
        }
    }

Current Samples

Running Samples

Some of the indivual calls will need values modified. Revision and work item id for example. Otherwise you just open a .rest file and run the request.

run rest client request image

About

Samples on using Azure DevOps Batch REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published