We would like to automatically generate and email a report that includes JIRA items that have changed in the last week due to associated svn checkins. Additionally, we'd like to include information about the changes (e.g. who made the change, the associated comment and what files were changed.) I have found two reports, which by themselves aren't what we are looking for and I'm not sure how to configure JIRA to generate and email the report weekly. Also the JIRA items will be in various states: Open, Resolved, and a couple of custom status states that we have created.
1) Limitations with the available svn commit report
2) Limitations of the JIRA item filtered on the update date
My questions are:
1) Is there a way to generate such a report? If not, any hints on available apis to programmatically generate it?
2) How do we configure JIRA to automatically send it on a weekly basis?
You can filter svn by specifying dates for revisions. Yes, you need to calculate the date using whatever scripting language you use and most scripting languages have date functions to do calculations and formatting.
svn log --revision {2012-11-01}:{2002-11-29} ...
svn log --revision {2012-11-01}:HEAD ...
svn log --revison {2012-11-01 23:59} ...
If you are using fisheye or subversion plugins you will have Jira keys listed in your svn log entry.
You can then use the REST apis to retrieve the issue data.
So have fun with favorite scripting language that supports making https calls.
Do not forget to enable the REST API.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.