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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

191 views 1 18
Join discussion

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