I have been trying to query for User Stories which descend from the RPM by using the Lookback API in conjunction with the _ItemHierarchy filter. The problem seems to be that the Lookback API wants to return data from all the projects it knows about, but apparently that includes projects which I don't have permission to access. I get the following error when trying to run the query:
"Errors":["Server Error: Your request requires access to a workspace or project for which you do not have permission. Contact your subscription administrator to request permission."]
I would like it if there was a way to ignore all projects which I don't have access to and just return me the User Stories which my permissions allow me to see. (And possibly alert me to the fact that not all were accessible)
At the very least, I would like a way to catch the TypeError that the API throws when the error is encountered. I tried using try/catch blocks but that doesn't seem to be effective in this context.