edtro / edtro/EdTro.AzureDevOps.Extensions.querybasedboards

Issue with URL built when including parent system field

Open
#80 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
28
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hello and thank you for an amazing extension that has been a great help.

I have encountered an issue when working with the extension. I performed troubleshooting on my end by removing all of the fields that I configured in my settings JSON and re-added each one until I was able to identify the following field as my problem:

{
"name":"System.Parent",
"title":"Parent",
"filter": false
}

Each board that has this field generates a request URL with duplicate entries in the query section. From what I have gathered, the work item ID is duplicated once per the number of work items in the query results. Below is an example of the URL (organization and project names removed) sent which the preflight has been failing with a 404 error and the fetch has been failing with a CORS error. The troubleshooting and URLs have been collected using chrome devtools:

`https://dev.azure.com/{ORGANIZATION}/{PROJECT}/_apis/wit/workItems?ids=2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2667%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2662%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2666%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2085%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C2673%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C1378%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2661%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2670%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2671%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2664%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2650%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2195%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2145%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2147%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2663%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2665%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2656%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2672%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2080%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061%2C2061&fields=System.TeamProject%2CSystem.WorkItemType%2CSystem.Id%2CSystem.Title%2CSystem.AssignedTo%2CSystem.State`

Is there a loop in the code that is behaving incorrectly when including the parent field? Thank you again so much for your help and we currently have a work around where I have removed this field from my configurations but we really would like to have it as an option once again.

Best regards,
Daniel Rojas

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.