Identify the revisions associated with a Jira issue

Dan Deftos January 28, 2015

We are currently leveraging both Fisheye and Jira. Fisheye is indexing several of our Subversion repositories. Upon commiting to our respositories, smart commits are used to link a JIRA issue to the revision being committed. These revisions will display within our JIRA issue on the Development panel. What we are looking to do with the REST API is being able to discretely identify the revision numbers associated with any given JIRA issue. Has anyone had any success doing such a thing? It is not clear from the JIRA REST API documentation that we can retrieve these revision numbers.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2015

I don't think you can do this directly.

The JIRA REST API does expose issues and field data, but the subversion tab you are seeing is not technically issue/field data - it's a display of data scraped from somewhere else.

You could cheat a bit - if you could write a "derived field" that displayed the same information that is in the tab, then you'd be able to get it out over REST.  But I'm not sure how easy that would be.

Suggest an answer

Log in or Sign up to answer