Book demo Start trial

Jira Integration

Using four simple steps to integrate LEAPWORK with any third-party system through the REST API, automatically creating bugs in JIRA when test automation cases are failed in LEAPWORK is very easy.

The following is a Windows Powershell script that runs a pre-defined LEAPWORK schedule, polls for the results until they are available and then loops through all failed cases and creates bugs in JIRA as appropriate.

Please note that the script contains no error handling or logging mechanisms. It is meant only to demonstrate the core functionality of integrating LEAPWORK with JIRA.

After running, cases will be created in JIRA and can be managed from the web interface:

jira1

The above script uses basic authentication to authorize access to JIRA. For information about how to use the JIRA REST API, please see the links:

  1. https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis
  2. https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-basic-authentication

You can explore the LEAPWORK endpoints mentioned above by going to this url: http://localhost:9000/help/index#!/RunSchedules if you have the Controller installed on your own computer.

If you would like to use the REST API to integrate LEAPWORK with your own systems, feel free to contact prioritysupport@leapwork.com and we’ll do our best to help you get up and running in no time.