How can I get multiple item attributes in the Reportable REST API?
I'm trying to grab multiple attributes of any item or artifact from the Reportable REST API using XMLHttpRequest in JavaScript, but each time I try, I get an empty response back from the server. However, if I put the URI I'm using directly in my browser, I can see the XML result that I'm expecting. For example, this works:
2 answers
I have explained how the reportable REST API for EWM works with an example here: https://rsjazz.wordpress.com/2022/03/02/ewm-reportable-rest-api/ . The example gets multiple work items and multiple attributes as well.
Comments
Got it working by running the widget from the mini dashboard while inside the EWM application. I was running it from the ETM application before, assuming that as long as I had the correct URL, my authentication and everything could be used to query any of our server applications. I'm still not exactly sure what's different between running the same widget while on each of the two tools, especially where I was allowed to get a single attribute while still it ETM, but I can get multiple attributes now.