/rest/api/2/myself api not working as per documentation

Hi, community.

When I am trying to get the user timezone using /rest/api/2/myself from the browser, I am getting the timezone set in user profile but when I hit the same api from our app using AP, I am not getting the timezone which is set in user profile, instead, I am getting the default user timezone set in jira settings
-> System -> General configuration. Is there anyway to get the timezone set in the user profile from our application.

1 Like

I think a user can set the privacy of timezone due to the new privacy controls put in place due to GDPR. See this page to see if this is related https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/