Hey Community! 👋
While working on an automated assessment workflow yesterday, I came across something interesting that I hadn’t noticed before: you can actually retrieve some server-related info through the Jira Cloud REST API.
The endpoint in question:
GET /rest/api/2/serverInfo
Here are a few things you'll find in the response:
serverTimeZone – The time zone your instance is using
version – Yes, cloud versions exist! Atlassian just handles the updates for you
locale – The default language and region settings for your instance
serverTime – The current server time
And a few other bits like buildDate, buildNumber, and display URLs
{"baseUrl":"https://your-domain.atlassian.net","buildDate":"2020-03-26T22:20:59.000+0000","buildNumber":582,"defaultLocale":{"locale":"en_AU"},"displayUrl":"https://instance.jira.your-domain.com","displayUrlConfluence":"https://instance.confluence.your-domain.com","displayUrlServicedeskHelpCenter":"https://instance.help.your-domain.com","scmInfo":"1f51473f5c7b75c1a69a0090f4832cdc5053702a","serverTime":"2020-03-31T16:43:50.000+0000","serverTimeZone":"Australia/Sydney","serverTitle":"My Jira instance","version":"1001.0.0-SNAPSHOT","versionNumbers":[5,0,0]}
- Find out more: developer.atlassian.com
This is probably more interesting than essential.
But knowing it’s there can be useful for localization checks, or just to satisfy your curiosity as an admin or developer ;)
Ana Vitória Selista
Atlassian Consultant
3layer
8 accepted answers
2 comments