How to get JIra server date time using rest API

I am creating a C# application and i want to know JIRA server date time .

1 answer

0 vote
Pedro Cora Atlassian Team Nov 17, 2014

Hello,

You can use the serverinfo REST end point.

For more details, take a look at: https://docs.atlassian.com/jira/REST/latest/#d2e3079

The output is:

{
    "baseUrl": "http://localhost:8080/jira",
    "version": "5.0-SNAPSHOT",
    "versionNumbers": [
        5,
        0,
        0
    ],
    "buildNumber": 582,
    "buildDate": "2014-11-11T05:43:47.935+0000",
    "serverTime": "2014-11-11T05:43:47.935+0000",
    "scmInfo": "1f51473f5c7b75c1a69a0090f4832cdc5053702a",
    "buildPartnerName": "Example Partner Co.",
    "serverTitle": "My Shiny New JIRA Server"
}

smile

-- Pedro

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

11,969 views 15 13
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you