Closed lieneth closed 2 years ago
I can see that it should be something wrong with my code. I am trying to insert following: { "settings":{ "showFilter":true }, "backlogTabs":[ { "tabNumber":"1", "level":"Epics", "teamId":"", // add the GUID of your team here, but you can leave it empty "queryId":"a544aff3-247b-45cc-bb25-7c152699ccda", // add the GUID of your query here "title":"Custom Board" }, { "tabNumber":"1", "level":"Features", "teamId":"", // add the GUID of your team here, but you can leave it empty "queryId":"837c4e23-a8e9-43b0-b157-e2860953c882", // add the GUID of your query here "title":"Custom Board" }, { "tabNumber":"1", "level":"", // you can leave the level empty, please be aware of the sortorder of your json. Because the config that is found first, that matches the criteria, will be used. "teamId":"", // add the GUID of your team here, but you can leave it empty "queryId":"df07e43a-c276-4e69-a3f3-50c89a64c7c5", // add the GUID of your query here "title":"Custom Board" } ] }
Hi @lieneth, Did this resolve the problem? Kr Edward
I've tried to save an 'empty' config... and I am also getting an error.
Just try to save this config:
{}
PLEASE BE AWARE: when you get an error, please close this errorbox with the 'X'. And (re)save your config.
I did manage to save the query when I removed comments. { "settings": { "showFilter": true }, "fields": [{ "name": "System.IterationPath", "title": "Iteration:" } ], "backlogTabs": [{ "tabNumber": "1", "level": "Epics", "teamId": "", "queryId": "a544aff3-247b-45cc-bb25-7c152699ccda", "title": "Custom Board" }, { "tabNumber": "1", "level": "Features", "teamId": "", "queryId": "837c4e23-a8e9-43b0-b157-e2860953c882", "title": "Custom Board" }, { "tabNumber": "1", "level": "", "teamId": "", "queryId": "df07e43a-c276-4e69-a3f3-50c89a64c7c5", "title": "Custom Board" } ] }
ok, great! Sorry but I didn't have the time to create an UI for the config settings. But just a tip: use the following site https://jsonformatter.curiousconcept.com/ to check if it is a valid json. Next you can check the console output (within the browsers developers section... F12), to see the error in detail.
I will close this issue.
Kr Edward
I get error "Failed to parse configuration: N-E" Where I N-E could refer to our project name. I can see, that it is marked in the fielss ID under settings. It does not matter if I try to save empty "Global" configuration or one set up with data, like described in this post: https://github.com/edtro/EdTro.AzureDevOps.Extensions.querybasedboards/blob/master/public/config.md