# About timeZone and locale in the "/rest/api/3/myself" response

**URL:** <https://community.developer.atlassian.com/t/about-timezone-and-locale-in-the-rest-api-3-myself-response/43477>\
**Category:** Jira Cloud\
**Tags:** gdpr, jira-cloud, rest-api\
**Created:** [December 1, 2020, 7:15pm UTC](https://community.developer.atlassian.com/t/about-timezone-and-locale-in-the-rest-api-3-myself-response/43477 "2020-12-01T19:15:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Berkayztrk](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@Berkayztrk](https://community.developer.atlassian.com/u/Berkayztrk)\
**Post date:** [December 1, 2020, 7:15pm UTC](https://community.developer.atlassian.com/t/about-timezone-and-locale-in-the-rest-api-3-myself-response/43477/1 "2020-12-01T19:15:27Z")

</div>

Hi,

According to the Jira Cloud REST API documentation, `timeZone` and `locale` fields in the response of the [“/rest/api/3/myself”](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-myself/#api-rest-api-3-myself-get) endpoint can be null depending on the user’s privacy setting. However, when I change the time zone’s visibility to “only you” in my profile, the `timeZone` in the response of the REST endpoint becomes Jira’s default timeZone. I could not find the privacy setting for `locale` and it is always returned as the user’s locale.

When do these two fields (`timeZone` and `locale`) become null for the “/rest/api/3/myself” endpoint?

Thanks,  
Berkay

---

<div class="post-metadata">

**Author:** ![dmorrow](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/dmorrow/32/35895_2.png) [@dmorrow](https://community.developer.atlassian.com/u/dmorrow)\
**Post date:** [December 2, 2020, 9:47am UTC](https://community.developer.atlassian.com/t/about-timezone-and-locale-in-the-rest-api-3-myself-response/43477/2 "2020-12-02T09:47:19Z")

</div>

Hi @Berkayztrk,

I assume you are referring to the documentation of the User object that is returned by the response. That User object is also returned by other REST API endpoints so the commentary is quite generic. When calling the [/rest/api/3/myself](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-myself/) endpoint, the fields will always be populated because the principle requesting the user data should always have access to their own data.

You may like to read the [Profile Visibility] article ([https://developer.atlassian.com/cloud/jira/platform/profile-visibility/](https://developer.atlassian.com/cloud/jira/platform/profile-visibility/)) for a more in depth understanding of the principles.

Regards,  
Dugald

---

<div class="post-metadata">

**Author:** ![Berkayztrk](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@Berkayztrk](https://community.developer.atlassian.com/u/Berkayztrk)\
**Post date:** [December 3, 2020, 8:29am UTC](https://community.developer.atlassian.com/t/about-timezone-and-locale-in-the-rest-api-3-myself-response/43477/3 "2020-12-03T08:29:53Z")

</div>

Yes, I was referring to the User object.

Thanks for the clarification.

Best,  
Berkay
