Error TF51635 Occurred while trying to create workitem batch

前端 未结 1 800
忘了有多久
忘了有多久 2021-01-25 01:39

When I try to create work items trough batch create operation I am getting below Error

TF51635: There are duplicate temp IDs in the Update XML.\\\\r\\\\nParamete         


        
1条回答
  •  隐瞒了意图╮
    2021-01-25 02:06

    Even though haven't found some related official documentation. This ID seems to use for defining the order of the multiple work items in json content. For example: If the last id of previous workitem is 289, then the ID of work item with -1 will be 290, -2 will be 291 ...and so on. This opinion is based on some tests.

    1. Is it compulsory to define ID ?

    Yes, you have to define this ID, if you don't, you will get error.

    2. how to determine Id (which id should use first / get last id of previous workitem)?

    You don't have to get the last id of previous workitem TFS will automatically detect it. This could be confirmed, when you create a single work item, you don't have to do this.

    3. Is it possible to assign auto increment number for this?

    Seems not.

    0 讨论(0)
提交回复
热议问题