Rest API check Youtrack Version
Hello,
I would like to know if it's possible to check which youtrack version is running using the rest API.
The API gets better and supports more every version of youtrack so it would be handy to dynamically enable features (or handle values more accurately) of a third party system based on the version that it's connecting to.
Thanks for reading
I would like to know if it's possible to check which youtrack version is running using the rest API.
The API gets better and supports more every version of youtrack so it would be handy to dynamically enable features (or handle values more accurately) of a third party system based on the version that it's connecting to.
Thanks for reading
Please sign in to leave a comment.
GET <youtrack_url>/rest/workflow/version
With YouTrack Fascination do you mean YouTrack 4.x or higher? (i noticed it wasn't working on 3.0).
I also noticed that the "workflow" element is one I haven't seen before, it doesn't seem to be in the REST API documentation? Are there more calls or documentation regarding this?
Thanks for reading
Yes, YouTrack Fascination is YouTrack 4.x.
Path /rest/workflow/ contains methods are for internal communications between WorkFlow Editor and YouTrack. We are not planning to describe them, since they are useless for users.
A quote from YouTrack support:
Since all /rest/* endpoints are scheduled for deprecation in favor of /api/* ones, I'd recommend using /api/config?fields=version,build for the version check. It should be available starting from 2018.1 at the very least.