This project contains some sample functions that allows you to call the REST api via powershell.
Its meant as a quick start to get you going rather than a complete library.
Some functions to call rest API showing some of the functionality. Complete documentation here.
https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/?view=azure-devops-server-rest-5.0
https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/work%20items/update?view=azure-devops-server-rest-5.0
Some sample calls to the functions in WorkItemUtilityFunctions.ps1
These are not needed to run the scripts but are there to help debugging etc.
This contains three functions that return strings. Not published as part of project. Enter data directly if you like.
Function to return the ORG URL (string) Example : https://dev.azure.com/XXXYYYZZZ
Function to return your PAT (string)
Documentation on how to create here.
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops
Function to return the project name. Example : SampleShop