JIRA REST API - how can I find the installed version number

Colin McEnearney March 4, 2013

Hi,

Is there a way to determine if an installation of JIRA has the rest api installed and if so, which version?

Something like this perhaps, but for rest api info:

http://domain.com/jira/rest/api/latest/serverInfo

Thanks,

Colin

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
codelab expert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2013

Jira is using REST API version 2 since 5.0 (no alpha status). More information at https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Version+2+Tutorial.

Try to examine the X-API-VERSION attribute in the header of your response.

Colin McEnearney March 10, 2013

@Daniel - thanks - I should have specified that I mean a way to determine version programmatically, ie not looking through the docs

@Mathias - thanks, on version 4.4.5 though not I'm seeing X-API-VERSION in the response, just these, maybe this is a feature of the newer version?

X-AREQUESTID
X-ASESSIONID
X-AUSERNAME
X-Seraph-LoginReason
0 votes
dleng
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2013
TAGS
AUG Leaders

Atlassian Community Events