Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

GlobalLists #317

Open
ekhcentrics opened this issue Sep 30, 2021 · 0 comments
Open

GlobalLists #317

ekhcentrics opened this issue Sep 30, 2021 · 0 comments

Comments

@ekhcentrics
Copy link

ekhcentrics commented Sep 30, 2021

I am migrating our organization from TFS 2013 to AzureDevOps 2020. (On our own server, not hosted)

Part of the 2013 integration was getting global lists, adding additional values, updating the global lists.

Psuedo code from 2013 integration:

WorkItemStore workItemStore = <retrieved elsewhere in the code>;
XmlDocument globalListsDoc = workItemStore.**ExportGlobalLists**();

XmlNodeList lists = globalListsDoc.SelectNodes("*/GLOBALLIST");
if (lists != null) {
    // <snip> ... find the list of the appropriate name, add <LISTITEM> items if needed </snip>
}

// Update: 
workItemStore.**ImportGlobalLists**(globalListsDoc.FirstChild as XmlElement);

How would I accomplish this in the new world order?
Preferrably not via command line - but via client libaries or rest calls?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant