Rally Rest API returning date object in String but in different time zone (set in my work space) . Any solution to change time-zone in response ?
The WS API will return date/time objects in UTC. You will need to apply any offset necessary. A bit more information is available here:
Time zones in WSAPI - CA Knowledge
Yes you are right and i also observe this behavior in REST response ("CreationDate": "2018-06-05T06:38:29.754Z",) .
My problem is like can we get result in my the same time zone of my Work space.
There is only solution to do necessary changes in timezone of Response.
There is only the solution to do necessary changes in the response, there is not any option to change how the WS API returns the Time. You can always find the time zone setting of the Workspace by following this article:
How to find Timezone settings for a Workspace and - CA Knowledge
then apply that in your code.
Hope that helps.