-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Occasionally, the merge pipeline fails to link the related work item. This is not a massive issue as the commit is already made and the link can be made manually. I'm not sure why this is occurring as I don't know what changes happen in between what timeframe.
Linking pull request to work item 31796
Invoke-RestMethod : {"$id":"1","innerException":null,"message":"TF26071: This work item has been changed by someone
else since you opened it. You will need to refresh it and discard your
changes.","typeName":"Microsoft.TeamFoundation.WorkItemTracking.Server.WorkItemRevisionMismatchException, Microsoft.Tea
mFoundation.WorkItemTracking.Server","typeKey":"WorkItemRevisionMismatchException","errorCode":600122,"eventId":3200}
At D:\a\1\s\pipelines\scripts\Merge-SolutionMerge.ps1:211 char:17
+ $result = Invoke-RestMethod `
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Steps to reproduce
Follow the standard process for approving a merge. This merge did have manual activities and we are using the PR process.
Expected behaviour
The work item to be linked and for no error to occur.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working