What is the best way to create bulk of issues using Jira Java API or Jira Rest API ?

Muzeeb Mohammed June 10, 2016

Hi,

We have developed a java application that uses JIRA Issue/Bulk Rest API to create bulk of issues. We are encountering performance issues as JIRA sometimes is not responding during the bulk ticket creation.

We are looking at other alternatives to improve performance of Jira.

We would like to understand what is the best approach to create bulk of issues using JIRA Java API (using a plugin) or JIRA Rest API.

if it is the JIRA Java API, could you please brief us the approach to create bulk issues. In other words, do we need to create a plugin component (what component) first to use JIRA Java API to create issues.

Also could you please let us know how to schedule a Job in Jira. We would like to run a JOB every day at 6 am EST. 

Appreciate your help.

 

Regards

Muzeeb Mohammed

 

1 answer

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2016

I will do bulk create of issues via CSV Import or JIRA REST API (schedule them at a time). JIRA does not have a native scheduler. There are add-ons that can help you with that (like the JIRA Escalation Services) or just create your own script and put it in your favorite cron scheduler.

Muzeeb Mohammed June 10, 2016

Thanks Much Gabrielle for quick response. The JIRA Issue/Bulk Rest API was working well with JIRA 6 version. We are seeing performance issues with latest JIRA 7 release. The JOB (bulk ticket creation using JIRA issue/bulk rest api call) used to take 20 mins to complete, but unfortunately with JIRA 7 the same JOB is taking 40+ mins.

Could you please let us know if there is any performance tuning procedure for JIRA Rest API calls in JIRA 7.

We are invoking single JIRA Issue/bulk API call for 700 tickets.

Regards

Muzeeb Mohammed

GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2016

How are you doing though? Do you have the proper hardware for it?

A Peter June 13, 2016

Hi Gabrielle,

   We are using the JIRA REST api and creating issues in bulk. As mentioned by Muzeeb, we see a significant performance difference between Jira 6x and JIRA 7x versions running on the same hardware.

    Our prod instance is installed on VMware instance with 16gb RAM and Quad core CPUs. We have no other application or processes running on this instance except for Jira 7. Also we use SQL server for db. We moved to JIRA 7 recently and did an in place upgrade from JIRA 6.

 

Regards

Antony  

Suggest an answer

Log in or Sign up to answer