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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

102 views 0 2
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