Identify the revisions associated with a Jira issue

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

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,647 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you