I can retrieve my installed stash version via REST api by using the URL:
http://www.example.com/stash/rest/api/1.0/application-properties
{ "version": "3.8.1", "buildNumber": "3008001", "buildDate": "1430730508586", "displayName": "Stash" }
However when I try the expected JIRA similar URL:
http://www.example.com/jira/rest/api/2/application-properties
I get a quite long json without any version information.
Is there any REST api for retrieving my installed JIRA instance version?
Thanks!
Community moderators have prevented the ability to post new answers.
Hi Agustin, you should be able to retrieve the version like this: http://example.com/jira/rest/api/2/serverInfo. For me it returned a JSON with the server information.
Hope this helps!
Kian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note that I already have a hackish way for retrieving my jira version by requesting a missing page and getting the version from the 404.html page, but that's not an ideal solution: curl -s -k -X GET http://www.example.com/jira/404.html | grep footer-build-information | cut -d'(' -f 2 | cut -d'#' -f 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.