I've got an issue trying to get two ajax calls to loop and work together.
the first ajax call gets the title from a group of items and the second ajax call gets an array of tests.
so I want the web page to show the title and the first set of tests together then the second title and the second set of tests and so on.
Title1
a-test1
b-test2
c-test3
Title2
d-test1
e-test2
f-test3
I just can't seen to get it right.
Thanks
Code below
for(vari=0;i<listReleasesid.length;i++){ console.log('list releases id '+listReleasesid[i]); vargeteachrelease="https://vsrm.dev.azure.com/"+organization+"/"+projectName+"/_apis/release/releases/"+listReleasesid[i]+"?api-version=5.0"; console.log('get each release'+geteachrelease);
console.log(geteachreleaseResp.id,geteachreleaseResp.name,geteachreleaseResp.environments[0].id,geteachreleaseResp.environments[0].name); //for (i in geteachreleaseResp.value) {
I'm using an ajax call and this is what I get in return. I just cannot seem to put the right line in to get out the data I want. There are two objects in the "resultsForGroup" I want to get the id, name, state, incomplete tests and also
the "resultsCountByOutcome", "passed" count and the failed count from both objects.
Please see the JSON below. This is what I get in a ajax response. I am new to javascript and need some help. How do I set, for example the Fields(third line down) to it's own variable and then query the variable to show the subfield. for example fields.System.WorkItemType. As the System.WorkItemType has a dot in the middle of it does this make a different of how to get the value?
Hi, I'm really struggling to get the authenication header to work, to access my azure devops. I've tested the path and the Personal Access Token (PAT) with powershell. Everything works.
I just cannot get the same to work in javascript/jquery. Please see my code below. I've put down two different ways I've tried and commented it them out. would really appreciate the help.