Changed from getBuilds to getQueries - #1
Conversation
|
Hi @scottdallamura this is my PR. I basically, replaced your getBuilds sample, with what I think is getQueries, but I'm getting an error on line 41 : Unhandled exception in fetch for 'https://dev.azure.com/antonioru/a7e331d5-b3e7-4c61-ba0b-9303bd7ed8e1/_apis/wit/queries': TypeError: Failed to fetch |
|
hey, your code looks fine. i suspect the reason it's not working is because this extension isn't allowed to query work items. currently it's only allowed to access builds: i'm pretty sure you want you can see the full list of scopes here: https://learn.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?toc=%2Fazure%2Fdevops%2Fmarketplace-extensibility%2Ftoc.json&view=azure-devops#scopes i gather this wasn't apparent from the error message - "Failed to fetch" isn't really helpful. i wonder if it's possible for us to make this a little easier to diagnose. even "Not authorized" would be better... |
No description provided.