Rally - WSAPi: Find Timezone settings for a Workspace
search cancel

Rally - WSAPi: Find Timezone settings for a Workspace

book

Article ID: 57542

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

How to find time zone settings for a particular Workspace?

 

 



Resolution

FIND WORKSPACE TIME ZONE FOR USERS WITH NO WORKSPACE ADMINISTRATOR RIGHTS:

A regular user does not have access to the Workspace settings in Setup tab where TimeZone can be viewed and set. Workspace settings are accessible to workspace and subscription administrators only. However a regular user may still read a workspace time zone via Web Services API.

There is a Workspace Configuration attribute on Workspace object in WS API.

A workspace query endpoint that fetches WorkspaceConfiguration looks like this:

https://rally1.rallydev.com/slm/webservice/v2.0/workspace/12345?fetch=WorkspaceConfiguration

In this example 12345 is the ObjectID of the workspace. (See this article on how to find ObjectID of workspace.)

Here is the result of the query, redacted for brevity:



Next, paste the URL of workspaceconfiguration/<ObjectID> in another tab of the same browser window, in this example:
https://rally1.rallydev.com/slm/webservice/v2.0/workspaceconfiguration/12351

Note that the ObjectID of the workspace configuration object is not the same as the ObjectID of its workspace.

Here is the result of the query, redacted for brevity:

{


  • WorkspaceConfiguration: {


    }



}

TimeZone property of the WorkspaceConfiguration object in this example is set to America/Denver.