Issue Details (XML | Word | Printable)

Key: JRA-2250
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Scott Farquhar [Atlassian]
Votes: 8
Watchers: 12
Operations

If you were logged in you would be able to see more operations.
JIRA

Integrate JIRA with automated build process

Created: 26/Aug/03 06:02 PM   Updated: 04/Sep/07 08:07 PM
Component/s: Extensions
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Java Source File AutoBuildNotificationMain.java (18 kB)
2. File buildtrecs.properties (0.4 kB)

Image Attachments:

1. sample.gif
(54 kB)
Issue Links:
Reference
 

Participants: Gunnar Wagenknecht, Jonathan Nolen [Atlassian] and Scott Farquhar [Atlassian]
Since last comment: 1 year, 4 weeks, 6 days ago
Labels:


 Description  « Hide
(from jira-user mailing list):

Hi All,

I wrote a quick and dirty little class to integrate JIRA with our
existing build notification process and figured I'd share it in case
anyone is looking to do something similar.

Our build process is designed to send out an email when it is complete
and included in the email is all the issues that were fixed in that
build. This is primarily for the benefit of our QA department. Anyway I included a sample pic of what the email looks like (basically mimics JIRA). The class also updates a custom field that we use for the build number.

There is some stuff that is specific to the way my company works so you would need to make some changes before using this. I did try to
externalize most parameters into a props file, at least to make it
useable by multiple projects without recompiling, but there is still
stuff that needs changing (like the base JIRA url) in the code.

Anyway, if nothing else I figure its starting point for anyone else that might have the same kind of automatted processes.

-Chris

Ps. You'll also need to grab the MailMessage class from
www.servlets.com.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Gunnar Wagenknecht added a comment - 03/Sep/07 07:40 AM
FWIW, I hacked together a plug-in that can be triggered using XMLRPC from build system with a build/change log. The build log is parsed automatically for all issues and the 'Fix Version' property is set correctly on all the detected issues.

https://wagenknecht.org/svn/public/opensource/jira/jira-buildnotifications-plugin/


Jonathan Nolen [Atlassian] added a comment - 04/Sep/07 08:07 PM
That's bloody awesome!

We'd really love it if you added this to the JIRA plugin library (http://confluence.atlassian.com/display/JIRAEXT/). And you can add it to our Developer SVN repository. Just let me know (jonathan@atlassian.com) if you'd like an account.

This is a really a great idea for a plugin.

Cheers,
Jonathan