Find the ObjectID (OID) of Projects, Workspaces, Timeboxes and Artifacts - Error - Could not read: Not authorized to read object Release xxxxxxxxxxx in Project xxxxxxxx
search cancel

Find the ObjectID (OID) of Projects, Workspaces, Timeboxes and Artifacts - Error - Could not read: Not authorized to read object Release xxxxxxxxxxx in Project xxxxxxxx

book

Article ID: 47910

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

There will be some instances while creating reports that in order to properly scope which work items are being reported, that the Project and Workspace object ID (OID) is required for configuration. This will ensure that results displayed only pertain to what values are configured.

Situations where you may require the object ID include but are not limited to:

  • Developers and Users who develop or display CA Agile Central apps or StandardReports externally outside of CA Agile Central.
 
*****This article will also work for determining the Release and Project in the following error:  Could not read: Not authorized to read object Release xxxxxxxxxxx in Project xxxxxxxx

Resolution

Method 1 - Determine Workspace & Project OIDs from URL (Any User Permission)

Project and Work Item Object ID:
The URL of a Work Item contains the OID (Object ID) of the Project where the given Work Item is contained.
Navigate to the Detail Page of the CA Agile Central Work Item (User Stories, Tasks, Portfolio Items, Test Cases, Test Case Results, Defects, and Defect Suites)

In the above example, "2xxxxxxxx61" is the Project OID, while "51xxxxxxxx28" is the OID of the User Story being accessed. Note that the trailing 'd' is not part of the ObjectID. Letters 'd' or 'u' indicate current selection to scope down or up in the project hierarchy. For more information see this article:

What is the significance of a trailing d after an ObjectID in the URL?

 

Workspace Object ID

The Workspace OID may be copied from the URL when performing a Web Services API (WSAPI) query. This can be found with any query, though we will give an example below.
  1. Navigate to https://rally1.rallydev.com/slm/doc/webservice/ (Requires login to CA Agile Central)
  2. From the left-hand navigation, click Artifact
  3. Click the Query button and inspect the URL in the resulting window
 
In the above example, "2xxxxxxxx46" is the Workspace OID
 

Method 2 - Determine Workspace & Project OIDs from URL (Subscription or Workspace Administrator)

Both the Workspace and Project OIDs can be copied from the URL of their direct Detail Pages. Only administrators however have access to the Workspace and Project detail pages.
  1. Logged in as an administrator click Setup at the top-right (hammer and wrench icon)
  2. Click the Workspaces & Projects tab
  3. Click the Name of either a Workspace (top-level in tree) or Project to view the Detail Page

In the first above example "/workspace/5xxxxxxxx25" is the Workspace OID (From Workspace Detail Page)

In the second above example "/project/5xxxxxxxx09" is the Project OID (From Project Detail Page)

 
Method 3 - Use Custom Page and the Custom HTML App
Use the following article for steps on accessing workspace and project object IDs: