3

Since a few days the function "Add days off" in the Azure DevOps (VSTS) Team Calendar can no longer be used. However, the function could already be used. My account is authorized as project and team administrator. The popup can still be opened but without content. The button "OK" cannot be used either.

What I'm doing wrong?

The function can be found in the Azure DevOps portal under: Boards / Calendar / Add days off

enter image description here

via my browser console:

{stack: "TypeError: Cannot read property 'valueOf' of undef…endar/0.5.209/1513804816029/sdk/VSS.SDK.js:103:44", message: "Cannot read property 'valueOf' of undefined"}
message: "Cannot read property 'valueOf' of undefined"
stack: "TypeError: Cannot read property 'valueOf' of undefined↵    


at https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-calendar/0.5.209/1513804816029/js/dialogs.js:902:70↵    
    at Array.filter (<anonymous>)↵    
    at EditCapacityEventControl._getCurrentIteration (https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-calendar/0.5.209/1513804816029/js/dialogs.js:899:31)↵    
    at https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-calendar/0.5.209/1513804816029/js/dialogs.js:864:43↵    
    at XdmDeferred._wrapCallback (https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-calendar/0.5.209/1513804816029/sdk/VSS.SDK.js:73:26)↵    
    at Array.<anonymous> (https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-calendar/0.5.209/1513804816029/sdk/VSS.SDK.js:48:23)↵    
    at https://ms-devlabs.gallerycdn.vsassets.io/extensions/ms-devlabs/team-calendar/0.5.209/1513804816029/sdk/VSS.SDK.js:103:44"
__proto__: Object
Brenners Daniel
  • 389
  • 5
  • 15

4 Answers4

1

The reason Ok is grey, is because you are not a member of the team that the calendar relates too. If you look in the top left of calendar extension view, right beside the month you will see a drop down containing all the teams in your project. Your user account must be added to the team that is selected in order to add days off.

Azure DevOps Calendar Team Selection Drop down

Craig Shutko
  • 128
  • 1
  • 10
0

for me this thing sits under boards > sprints > capacity

enter image description here

ps. I dont have "calendars" under boards.

4c74356b41
  • 69,186
  • 6
  • 100
  • 141
0

You do not have an active iteration running - that's the problem. Go to your Azure DevOps "Project Settings", under "Boards" you have "Project Configuration", there you can add a new iteration.

Or here is the direct link, but you have to replace your servername and projectname.

https://SERVERNAME/PROJECTNAME/_settings/work

After that you can go to calendar page and add day off.

MAESTRO_DE
  • 433
  • 2
  • 17
0

Click the "Days Off" in the right hand pane and add yourself to the team. This is required due to capacity planning integrations.

enter image description here

The other gotcha is that you can't create days off that span multiple iterations - e.g. extended breaks are not encouraged. To workaround this - you must create multiple days off for each iteration you plan on being out.

SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173
  • Do you maybe know the answer for this one? https://stackoverflow.com/questions/68096837/azure-pipeline-custom-task-with-an-unknown-number-of-inputs – CodeMonkey Jun 23 '21 at 10:50