Fetching project key for version from REST API

I’m able to use the Jira Server REST API to fetch a version.

I want to build a link to the URL to view the version in the JIRA web UI.

The problem is that the URL to view the version in JIRA requires the project key, which doesn’t come back with the version.

The URL for the version in the JIRA UI seems to be /projects/{projectKey}/versions/{versionId}

Is there a way for me to include the project key in the response from GET /version?


I suspect you’ll need to make a call to GET PROJECT with a path parameter of {projectKeyOrId}. Unfortunately I don’t think it’s possible to get the key any other way.