edtro / EdTro.AzureDevOps.Extensions.querybasedboards

Query Based Boards enables a user to visualize the result of work item queries as a board and track the dependencies.
MIT License
23 stars 2 forks source link

cannot move work item to doing / done columns #41

Closed JamborJan closed 3 years ago

JamborJan commented 3 years ago

Not sure if I got this wrong. I have this json config for my board as shown at the bottom. My question: why am I not able to drag n drop in one of the doing / done columns? In the picture below I try to drop teh item in teh analysis doing column and this didn't work.

Bildschirmfoto 2021-02-19 um 16 58 11
{
   "settings":{
      "showFilter":true,
      "showArrows":true,
      "showProject":true,
      "showStoryPoints":false,
      "showTags":true
   },

   "swimlanes":{
      "field":"System.AreaPath",
      "defaultValue":"Planning",
      "values":[
         {
            "value":"Planning",
            "title":"Planning"
         },
         {
            "value":"Planning\\Platform",
            "title":"Platform"
         },
         {
            "value":"Planning\\Produkt1",
            "title":"Produkt1"
         },
         {
            "value":"Planning\\Produkt2",
            "title":"Produkt2"
         },
         {
            "value":"Planning\\Produkt3",
            "title":"Produkt3"
         }
      ]
   },
      "columns":[
      {
         "name":"Backlog",
         "title":"Backlog",
         "isBacklog":true
      },
      {
         "name":"Analysis",
         "title":"Analysis",
         "doingDone":{
            "field":"System.BoardColumnDone",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Implementation",
         "title":"Implementation",
         "doingDone":{
            "field":"System.BoardColumnDone",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Verification",
         "title":"Verification",
         "doingDone":{
            "field":"System.BoardColumnDone",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Done",
         "title":"Done",
         "isBacklog":true
      }
   ]
}

I have a similar issue with task boards, json example and screen below. I cannot move the work item plus teh done (I call it ready) column ist not shown.

Bildschirmfoto 2021-02-19 um 17 11 46
{
   "settings":{
      "showFilter":true,
      "showArrows":true,
      "showProject":true,
      "showStoryPoints":false,
      "showTags":true
   },

   "columns":[
      {
         "name":"Backlog",
         "title":"Backlog",
         "isBacklog":true
      },
      {
         "name":"Analysis",
         "title":"Analysis",
         "doingDone":{
            "field":"System.BoardColumnDone",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Implementation",
         "title":"Implementation",
         "doingDone":{
            "field":"System.BoardColumnDone",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Verification",
         "title":"Verification",
         "doingDone":{
            "field":"System.BoardColumnDone",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Done",
         "title":"Done",
         "isBacklog":true
      }
   ]
}
edtro commented 3 years ago

Dear @JamborJan For the 'System.BoardColumnDone' the reason is simple. This is a system field and we are not allowed to modify this field while using the api or directly (I am investigating a workaround at the moment).

But all your questions can be answered by this quote (from the documentation file config.md):

NOTE: for obvious reasons all system fields are not allowed to be used e.g. System.WorkItemType, because the risk is too high or they are system protected.

So the System.AreaPath is not implemented.

Kr Edward

JamborJan commented 3 years ago

I apologise for this rtfm-question. Sorry.

JamborJan commented 3 years ago

dear @edtro, I fixed most of this by implementing a custom boolean value to use the doing / done parts of the column. But on task boards I still have the issue, that the done part of the collumn is not shown. When I switch the boolean to done=true the work item simply disappears on the board. The strange thing is, the same column settings work on a single type board where I only have epics features etc. Only on task boards this one is not working.

Not working on epic-feature task board but working on feature only board:

{
   "settings":{
      "showFilter":true,
      "showArrows":true,
      "showProject":true,
      "showStoryPoints":false,
      "showTags":true
   },

   "columns":[
      {
         "name":"Backlog",
         "title":"Backlog",
         "isBacklog":true
      },
      {
         "name":"Analysis",
         "title":"Analysis",
         "doingDone":{
            "field":"Custom.IsReady",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Implementation",
         "title":"Implementation",
         "doingDone":{
            "field":"Custom.IsReady",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Verification",
         "title":"Verification",
         "doingDone":{
            "field":"Custom.IsReady",
            "doingTitle":"Doing",
            "doingDefaultValue":false,
            "doneTitle":"Ready",
            "doneValue":true
         }
      },
      {
         "name":"Done",
         "title":"Done",
         "isBacklog":true
      }
   ]
}

PS: I don't really get your comment "So the System.AreaPath is not implemented." because using this value for swimlanes seems to work pretty okay for me. Onyl a "Under" feature would be cool, so to have all area paths under "Planning\Product\*" in the swim lane. E.g. "Planning\Product\Team1" and "Planning\Product\Team2".

edtro commented 3 years ago

Ok, I will look into this (regarding the taskboard).

edtro commented 3 years ago

@JamborJan Hi, I think I have found & resolved the problem (regarding the doing/done within the taskboard, that it wouldnt show up). Now I have to test it a little further. Next to this... I have a lot of new stuff ready for release. But if everything goes well, as I hope it will, I will be able to release this soon. Kr Edward

edtro commented 3 years ago

Solved in 0.21059