Hi There,
I am trying to fetch user time zone in confluence cloud to display dates in a dynamic macro.
I am using atlassian connect express to develop the macro .
Kindly help .
Thank You
Hi There,
I am trying to fetch user time zone in confluence cloud to display dates in a dynamic macro.
I am using atlassian connect express to develop the macro .
Kindly help .
Thank You
Hi @ritupurna.biswal11 ,
Found this Suggestion request for a REST API to return such info; unfortunately, I do not think there’s an existing way.
Cheers,
Ian
Hi @ritupurna.biswal11 ,
The inferred by the existence of CONFCLOUD-69670 and @ianRagudo’s response, the Confluence REST API doesn’t support this, however, if you need the current user’s time zone in the context of an app iframe, you can call AP.user.getTimeZone()
. See the User Javascript API.
Regards,
Dugald