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 Join to answer
Community showcase
Pedro Felgueiras
Asked 38m ago in Jira

Clone a Zephyr issue

When I try to clone a Zephyr issue only a popup showing the issue id and nothing more shows.  On the browser console I see:  RTE not registered Error: No jira/editor/registry at c...

10 views 0 0
View question

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot