Visual Studio REST API Iteration and Area ID's

后端 未结 2 647
伪装坚强ぢ
伪装坚强ぢ 2021-01-14 11:25

I am working with the VSO REST API and have a question on how Iteration and Area ID\'s are assigned. Specifically, why is it when I assign a work item to the root Iteration

2条回答
  •  被撕碎了的回忆
    2021-01-14 12:13

    There are three ways of identifying an Area (everything I post equally applies to Iterations also). The Path (string), the ID (int) and a Guid. each of them are used in different ways, and have different ramifications.

    For example renaming an Area, does NOT change it's identity, therefore does not update a work item (the path returned for in a workitem is dynamic).

    It is also possible to delete and recreate and identical path, but it will have a different ID.

    The GUID is used primarily for the Excel Reports (such as are parent of the SharePoint portal)

    Depending on how you want things to react determines the appropriate element to use.

    I have not seen any issues with the ID that you mention, and if you could create a simple repro, I would be glad to look at it.

    david(dot)corbin(at)dynconcepts(dot)com

提交回复
热议问题