Published: 2020.11.09
Category: PowerShell
EcoVadis AzureDevOps
Module is written to help manage tasks on the AzureDevOps. It is module dedicated for my team at EcoVadis.
Setup MasterConfiguration
- Install PowerShell MasterConfiguration Module
- Setup EnvironmentVariable
Check if in the path c:\Users\pwujczyk\Documents\ProductivityTools.MasterConfiguration\ you have json file

Setup AzureDevops
- Install Module from PowerShell Gallery
- Create new file in the MasterConfiguration location EcoVadis.AzureDevOps.json
{ "TTTFSAddress":"https://azuredevops.ecovadis.com/EcoVadisApp_TeamProjectCollection/", "TTpat":"ti45xwu6mmeakxrcdmdpg7kadefdsk6gc4sxa", "TTuserName":"Pawel Wujczyk <PRD\\pwujczyk>", }

Use it.
New-FEStealing "StealingFE" 13 New-BEStealing "StealingBE" 14 Get-TFSItem 101856

Move-ItemsToSprint – from stack rank
Moving all users stories which will greater or equal 99999999
Move-ItemsToSprint – not closed
Moving all users stories which are in the status Dev Active,L2 Approved, move all tasks and eco Bugs which are in the status New, Active, Code Review, to given sprint.
Statuses of US which will be moved: – Dev Active – L2 Approved
Statuses of tasks and bugs which will be moved: – New – Active – Code Review – L2 Approved
Statuses of the tasks and bugs which will be cloned – Active – Code Review
Calculate Sprint hours
Set-IsPlanned
Command sets IsPlanned flag to all tasks in given query.
Add-ProgressiveRollout
If the task already exist cmdlet will throw exception, unless you will use -Silent switch.
Add-Testing
It creates two items: Test Case and Testing task for given US.
If the task already exist cmdlet will throw exception, unless you will use -Silent switch.