API query returning total results of 0 when there should be artifacts being returned by the query.
This can happen when there is a workspace context conflict due to the user having access to multiple workspaces.
The user's workspace context is likely set to a different workspace either through a default project/workspace setting on the user's profile, some previous programmatic binding to that workspace, or through our default workspace selection process which works by choosing the first alphabetical workspace the user has access to if no other workspace can be chosen.
To resolve this issue, it is necessary to pass a workspace attribute in the request. For example:
https://rally1.rallydev.com/slm/webservice/v2.0/hierarchicalrequirement?query=(project = "/project/388888888888"))&workspace=/workspace/344444444444
To find the target workspace object ID, you may use the following article: https://knowledge.broadcom.com/external/article/47763/rally-find-object-ids-of-current-worksp.html
keywords: agile central ws zero totalresultcount empty project