avih75 / Action_Button_Control

Button for work item
MIT License
2 stars 5 forks source link

Data Type Error #6

Closed FormidableYeti closed 3 years ago

FormidableYeti commented 3 years ago

Not important to my needs, but caught this while experimenting with the control.

Looking a the code, looks like copying DueDate field is supported, but when added options list, generates an error on button press.

Code appears to reference this as System.DueDate, but Microsoft indicates the field is Microsoft.VSTS.Scheduling.DueDate.

/Change%20Advisory%20Board%20(CAB)/_apis/wit/workItems/$Change%20Request?bypassRules=true:1 Failed to load resource: the server responded with a status of 400 ()
vss-bundle-ext-core-vsNJx8ypQuBWNwKzRW_9nV4pDw4J8h928hV1LG5CIPF8=:297 TFS.WebApi.Exception: TF401326: Invalid field status 'InvalidType' for field 'Microsoft.VSTS.Scheduling.DueDate'.

Reference document: https://docs.microsoft.com/en-us/azure/devops/boards/queries/query-by-date-or-current-iteration?view=azure-devops

Due Date | The forecasted due date for an issue to be resolved.Reference name=Microsoft.VSTS.Scheduling.DueDate, Data type=DateTime

FormidableYeti commented 3 years ago

Latest update has this fixed, tested cleanly on my end. closing this bug.