{"id":17978165,"url":"https://github.com/danhellem/azure-devops-admin-cli","last_synced_at":"2025-03-25T17:31:17.620Z","repository":{"id":40914080,"uuid":"169469583","full_name":"danhellem/azure-devops-admin-cli","owner":"danhellem","description":"cli to help manage specific admin tasks in azure devops","archived":false,"fork":false,"pushed_at":"2024-03-05T20:17:58.000Z","size":143,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-28T01:58:47.051Z","etag":null,"topics":["azure-devops","cli","devops"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danhellem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-02-06T20:10:17.000Z","updated_at":"2024-04-14T18:10:05.000Z","dependencies_parsed_at":"2024-03-05T21:28:17.455Z","dependency_job_id":"68d3783e-bdd6-43f5-9ce6-8c793b85d64b","html_url":"https://github.com/danhellem/azure-devops-admin-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhellem%2Fazure-devops-admin-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhellem%2Fazure-devops-admin-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhellem%2Fazure-devops-admin-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danhellem%2Fazure-devops-admin-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danhellem","download_url":"https://codeload.github.com/danhellem/azure-devops-admin-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222088647,"owners_count":16928993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-devops","cli","devops"],"created_at":"2024-10-29T17:31:58.207Z","updated_at":"2025-03-25T17:31:17.614Z","avatar_url":"https://github.com/danhellem.png","language":"C#","readme":"# azure-devops-admin-cli\nCLI to manage work item admin tasks in Azure DevOps\n\n## Building and running\n\n 1. Open solution in Visual Studio and build the project.\n 2. Open bin \u003e release folder (or debug) to find witadmin.exe\n 3. Run command line ```adoadmin.exe```\n 4. Add arguments below to run specific commands\n \n #### Example\n \n ```\n adoadmin.exe /org:myorgname /pat:1461fe40a1074619b1b29438ad19c71b /action:listallfields\n ```\n\n## Arguments\n\n```\n/org:{value}            azure devops organization name\n/pat:{value}            personal access token\n            \n/action:{value}         listallfields, getfield, addfield, listfieldsforprocess, allpicklists, picklistswithnofield, emptyrecyclebin\n/refname:{value}        refname of field getting or adding\n/name:{value}           field friendly name\n/type:{value}           type field creating  \n\n/days:{value}           used with emptyrecyclebin and list-delete-plans action. Number of days in the past from today\n```\n\n## 📃Process\n\n```\nlistallfields           lists all fields in the organization\ngetfield                get a specific field by refname\naddfield                add a field\nlistfieldsforprocess    list of fields in a process\nsearchfields            search for a specific field by refname to see if it exists\ngetfieldforprojects     list of projects and work item types the field is used in\nallpicklists            list all picklists and the field they are associated to\npicklistswithnofield    picklists that are not being used\nlist-delete-plans       list out and delete (optional) delivery plans that have not been accessed in x number of days\n```\n\n### Examples\n\n```\nadoadmin.exe /org:{organization name} /pat:{value} /action:listallfields\nadoadmin.exe /org:{organization name} /pat:{value} /action:allpicklists\nadoadmin.exe /org:{organization name} /pat:{value} /action:picklistswithnofield\nadoadmin.exe /org:{organization name} /pat:{value} /action:listfieldsforprocess /process:Agile\nadoadmin.exe /org:{organization name} /pat:{value} /action:getfield /refname:System.Title\n```\n\n## 📅 Delivery Plans\n\nClean up Delivery Plans that have not been accessed over a number of days. This can be helpful when trying to stay under the 1,000 plan limit per project. We recommend deleting plans that have not had any activity in the last 3-6 months.\n\n```\nlist-delete-plans       list out and delete (optional) delivery plans that have not been accessed in x number of days\n```\n\n### Example\n```\nadoadmin.exe /org:{organization name} /pat:{value} /action:list-delete-plans /days:182\n```\n\n## ♻️ Recyle bin\n\nUsed to delete work items forever out the recycle bin.\n\n```\nadoadmin.exe /org:{organization name} /pat:{value} /action:emptyrecyclebin /project:{project name} /days:0\n```\n\n### Examples\n\nEmpty everything from the recycle bin\n```\nadoadmin.exe /org:{organization name} /pat:{value} /action:emptyrecyclebin /project:{project name} /days:0\n```\n\nEmpty work items that have not been updated in the last 365 days\n```\nadoadmin.exe /org:{organization name} /pat:{value} /project:{project name} /days:365\n```\n\n## 🏷️ Tags \n\nFind all the tags that are not used and can be deleted.\n\n```\nadoadmin.exe /org:{organization name} /pat:{value} /action:listemptytags /project:{project name}\n```\n\nDelete a specific tag in a project.\n```\nadoadmin.exe /org:{organization name} /pat:{value} /action:deletetag /project:{project name} /name:{tag name}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanhellem%2Fazure-devops-admin-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanhellem%2Fazure-devops-admin-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanhellem%2Fazure-devops-admin-cli/lists"}