PHPackages                             aircargobook/phpunit-jira-connect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. aircargobook/phpunit-jira-connect

ActiveLibrary

aircargobook/phpunit-jira-connect
=================================

a simple php trait to push test results (per issue) to JRIA.

1.0.1(5y ago)04.8kMITPHP

Since Aug 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/aircargobook/phpunit-jira-connect)[ Packagist](https://packagist.org/packages/aircargobook/phpunit-jira-connect)[ Docs](https://www.aircargobook.com)[ RSS](/packages/aircargobook-phpunit-jira-connect/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

phpunit-jira-connect
====================

[](#phpunit-jira-connect)

Adds info to jira tickets if tests were successful or not.

install
-------

[](#install)

```
composer require aircargobook/phpunit-jira-connect

```

jira setup
----------

[](#jira-setup)

In order for Jira to store data for every issue, we need to add a custom field. To do that, go to Settings and add new custom field, Tests..

[https://YOUR\_JIRA\_URL.atlassian.net/secure/admin/ViewCustomFields.jspa](https://YOUR_JIRA_URL.atlassian.net/secure/admin/ViewCustomFields.jspa)

usage
-----

[](#usage)

Add this to your tests/bootstrap.php

```
/* load custom jira trait */
define('JIRA_URL', 'https://YOUR_JIRA_URL.atlassian.net');
define('JIRA_LOGIN', 'YOUR_EMAIL');
define('JIRA_PASS', 'YOUR_PASSWORD');
define('UPDATE_JIRA_TEST_STATUS', true);

/* end of loading custom jira trait */

```

Then link any testcase you where you want to use the trait

```
