JIRA – Automated status report

In this post, I would like to show how I have implemented automated status reporting from JIRA.

In my organization, I help with automation testing for multiple projects. One of the projects, they use JIRA for defect tracking. I was approached to implement something similar to this (which i had already done for HP ALM) for a different project.

The goal was to send 2 different emails daily- 1 is for defect status and the other is for test execution status.

JIRA API:
JIRA has exposed most of its functionalities via REST API. So you can create/edit/get issues programmatically.
Please check this link to get an idea of JIRA REST API.

Design/Framework:

The design would be similar to the one I had done for HP ALM. Because all the libraries were reused. I created one library for JIRA which will replace the one for ALM. Everything else would be simply reused.

jira-design

Properties File:

This is a sample properties file which is read by the executable to create the status emails.

jira-properties

Sample EMail:

The automated email sent is similar to thisStatusEMail.

Summary:

By creating a simple utility, we saved a lot of time in status reporting which gives more accurate defect status & test execution status. It also has been designed to be used for any project by updating a config file.

 

Share This:

2 thoughts on “JIRA – Automated status report

  1. Hi, Could you simply introduce the chart library and mail library that you used in this project? Or maybe you could recommend some similar ones for JAVA?

    Thanks a lot

  2. Hi,
    Can you please give some sample project repo for the email integration.
    It would be great helpful for us.

    Thanks,
    Sai

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.