Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I query/report on all Jiras related to a range of subversion revision numbers

Wayne_Baldwin
Contributor
February 23, 2012

When looking at a jira, it's easy to see what code was checked in against it, but I want to look the other way.

When doing a drop of software, I want to get a list of Jira's (features/bugs) that went into the drop, and scanning through Elclipse Team histories for all of our projects is to painful.

1 answer

1 vote
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2012

Don't mind this answer :) Isn't this a case of doing a perl or shell script using the command 'svn log -r<sourcerev>:<destrevision> and then a regexp match? (YOURJIRAPROJECTKEY-\d+)

Wayne_Baldwin
Contributor
February 26, 2012

I installed an svn client to my windows box, and I can pull check in comments with the svn log command, but since everyone checks in to SVN with a different style, I can't get a nice clean report.

If everyone used Mylyn like I do, I could get a nicely formatted list of Jiras and descirptions.

We have many SVN projects for our application, so that also complicates matters.

Since Jira has SVN version numbers, I would much rather pull reports from there.

Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 27, 2012

May be you should use a mix of solutions? Pull out the Jira ids from the svn log, then use the REST or SOAP api to pull out the tile and whatever other details of the Jira issue from your instance and make a nice report. You could publish this as a tool for everyone to use.

And the way people write the SVN comments does not matter since you just need to match your Jira Id somewhere in the svn comment using a regular expression.

Yogendra Jat November 25, 2012

Hi,

Your approach seems to be nice one. Could you please explain how to execute this svn log command using a remote java client ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events