The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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

TAGS
AUG Leaders

Atlassian Community Events