Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-2250

Integrate JIRA with automated build process

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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.

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

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

                Created:
                Updated:
                Resolved: