How to use TimeZoneManager to get and set logged in user timezone in plugin development

Abhishek Barnwal September 28, 2020

ZoneInfo userTimeZone = getComponent(TimeZoneManager).getLoggedInUserTimeZone();

But this throws the error  cannot find symbol [ERROR] symbol: variable TimeZoneManager. even i have imported import com.atlassian.jira.timezone.*; in java file. But same is working fine in jira console.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events