figueiredorui / 1-click-tasks

Add tasks to User story or Bugs from predefined templates using a single click.
MIT License
6 stars 2 forks source link

Doesn't work on TFS 2017 #1

Closed jdshkolnik closed 7 years ago

jdshkolnik commented 7 years ago

Hi,

I defined task templates and tried from both a bug and user story but nothing happened. No errors or feedback of any kind.

figueiredorui commented 7 years ago

Hi John, Thanks for your feedback. I haven't had a chance of testing it on TFS 2017 yet. I plan to do it soon. Could you check you browser console for any warning or error.

Thanks, Rui

jdshkolnik commented 7 years ago
POST http://servername:8080/tfs/DefaultCollection/blahblah/_apis/wit/workItems/$Task 400 (Bad Request)
POST http://servername:8080/tfs/DefaultCollection/blahblah/_apis/wit/workItems/$Task 400 (Bad Request)
POST http://servername:8080/tfs/DefaultCollection/blahblah/_apis/wit/workItems/$Task 400 (Bad Request)
POST http://servername:8080/tfs/DefaultCollection/blahblah/_apis/wit/workItems/$Task 400 (Bad Request)
POST http://servername:8080/tfs/DefaultCollection/blahblah/_apis/wit/workItems/$Task 400 (Bad Request)
TFS.WebApi.Exception: Value cannot be null.
    at d (http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:45:499)
    at http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:45:3381
    at g (http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:45:762)
    at http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:45:3314
    at l (http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:27:8126)
    at http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:27:8352
    at t.when (http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:27:3784)
    at t.u.promiseDispatch (http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:27:2828)
    at http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:27:1653
    at MessagePort.t (http://servername:8080/tfs/_public/_Bundling/Content?bundle=vss-bundle-ext-core-vQxYq4ATMXC8TGrjx_LXvb3hM1QKbz3O5KT4mtlpMF_Q=:27:5777)
jdshkolnik commented 7 years ago

@figueiredorui It now works but I was caught off guard when the PBI prompted me to save changes and I didn't. The end result was 5 new orphaned tasks. Shouldn't the tasks already be created with the parent link? I know I can open an existing PBI in one window, create a new task and set it to that PBI parent in another window, and then close the first PBI without losing the link.

figueiredorui commented 7 years ago

So, it actually works on TFS 2017?

jdshkolnik commented 7 years ago

Yes.