I am using the url ‘https://micromine.atlassian.net/rest/api/3/myself’ to get the time zone of the logged in user so we can get the offset to the server. However it is in the format ‘Australia/Sydney’ with no corresponding offset.
I noticed there is a time zone API TimeZoneService (Atlassian JIRA 7.0.2 API), but I do not know how to connect to it. Can anyone point me in the right direction? I am using C# (.NET Framework) if that matters. Currently using REST API with json.
Thanks YY1. I did eventually come up with a alternate solution by matching the jira time zone name to a .net TimeZoneInfo object, then calculating the offset to the server (which is in UTC).