Is there a way to change to bulk user timezone using scripts like groovy etc ?

Sumit Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2013

Is there a way update the timezone of Users using a script .. Also it is possible to make timezone field unavailable for Users to enter their prefernces.

2 answers

1 accepted

0 votes
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2013

I had to remove that... for anyone else:

tzService.setUserDefaultTimeZone(timeZon, jiraServiceContext)

Sumit Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2013
When the boss is a way, work becomes a holiday...!! Thanks a lot for wonderfull work in groovy .. :) Hoping to learn more and more from you .. :) :)
0 votes
Sumit Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2013
Guru Darbar Khalsa March 19, 2018

Sumit can you share your code? I am also trying to bulk update users' timezone. Thanks

Suggest an answer

Log in or Sign up to answer