Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-2250

Integrate JIRA with automated build process

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      (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.

      Attachments

        1. AutoBuildNotificationMain.java
          18 kB
        2. buildtrecs.properties
          0.4 kB
        3. sample.gif
          sample.gif
          54 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scott@atlassian.com Scott Farquhar
              Votes:
              9 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: