Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API call to determine what Jira Server version?

Craig Anderson
Contributor
March 21, 2023

Is there an API call that will return which version of the API the server implements?

I looked for it in the headers and body of some API responses and did not see it.

2 answers

1 accepted

2 votes
Answer accepted
Sayed Bares _ServiceRocket_
Community Champion
March 21, 2023

Hi Craig, 

You can find the REST API version by going to the following URL and choosing the Jira version you are currently using:

https://docs.atlassian.com/software/jira/docs/api/REST/

If you want to get the Jira version through REST API then you can use the following endpoint:

GET /rest/api/latest/serverInfo

I hope it helps!

Craig Anderson
Contributor
March 24, 2023

Yes, that endpoint works.  Note that on server (at least), don't include "v2" in the URL.

0 votes
Matt Doar
Community Champion
March 21, 2023

The serverinfo call has that I think

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events