jpiquot / ChildTasksTemplate

Apache License 2.0
8 stars 4 forks source link

The collection does not exist #6

Closed EricHerlitz closed 3 years ago

EricHerlitz commented 3 years ago

I'm having issues when using the template. The selection modal shows up just fine but when selecting a template the following error shows in the console.

_https://extmgmt.dev.azure.com/myorganization/_apis/ExtensionManagement/InstalledExtensions/Fiveforty/ChildTasksTemplate/Data/Scopes/Default/Current/Collections/%24settings/Documents/fiveforty-child-tasks-template-c1a62f9d-49a8-41ab-9405-f6f7a76a8c4c_ will display the error {"$id":"1","innerException":null,"message":"%error=\"1660002\";%:The collection does not exist\r\n%error=\"1660002\";%:The collection does not exist","typeName":"Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.DocumentCollectionDoesNotExistException, Microsoft.VisualStudio.Services.ExtensionManagement.WebApi","typeKey":"DocumentCollectionDoesNotExistException","errorCode":0,"eventId":3000}

Checking the _https://dev.azure.com/myorganisation/_apis/wit/workItems_ will display the error {"count":1,"value":{"Message":"No HTTP resource was found that matches the request URI 'https://dev.azure.com/_apis/wit/workItems'."}}

image

jpiquot commented 3 years ago

Could you send me your template setup (JSON)? So I can check on my DevOps instance if I can reproduce the error.

jpiquot commented 3 years ago

closing as no answer. Please re-open if needed.

ccagahr commented 2 years ago

I've Installed the extension on a new devops account and project and used your example template, but it does not work. The java script console shows a 404 error on a get request to url /_apis/wit/workItems

ma3achou commented 1 year ago

Same here !! ... I got same issue and I don't know how to get acces to the code source to check the REST API call !

ma3achou commented 1 year ago

Could you send me your template setup (JSON)? So I can check on my DevOps instance if I can reproduce the error.

Here is in my case :

{ "version": 2, "templates": [ { "name": "Scenario standard", "tasks": [ { "name": "1 - Analyse", "fields": [ { "name": "System.Title", "value": "{System.Title} AF:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Priority", "value": "{Microsoft.VSTS.Common.Priority}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Design" } ] }, { "name": "2 - Approbation des criteres dacceptation par le client", "fields": [ { "name": "System.Title", "value": "{System.Title} DEV:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Development" } ] }, { "name": "3 - Programmation", "fields": [ { "name": "System.Title", "value": "{System.Title} DEV:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Development" } ] }, { "name": "x - Assurance qualite", "fields": [ { "name": "System.Title", "value": "{System.Title} DEV:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Development" } ] }, { "name": "x - Tests dacceptation", "fields": [ { "name": "System.Title", "value": "{System.Title} DEV:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Development" } ] }, { "name": "x - Autorisation de mise en production", "fields": [ { "name": "System.Title", "value": "{System.Title} DEV:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Development" } ] }, { "name": "x - Mise en production", "fields": [ { "name": "System.Title", "value": "{System.Title} DEV:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Development" } ] }, { "name": "x - Envoi de la note de livraison", "fields": [ { "name": "System.Title", "value": "{System.Title} TEST:{id}" }, { "name": "System.IterationPath", "value": "{System.IterationPath}" }, { "name": "System.AreaPath", "value": "{System.AreaPath}" }, { "name": "Microsoft.VSTS.Common.Activity", "value": "Testing" } ] } ] }, { "name": "Bogue", "tasks": [ { "name": "Design Task", "fields": [ { "name": "System.Title", "value": "{System.Title} AF:{id}" } ] } ] } ] }