1. Go to this page and download the library: Download edujugon/jira library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
edujugon / jira example snippets
$jira = new Edujugon\JIRA\JIRA($username,$password,$url);
$jira->setProjectByKey('PI');
$jira->setProjectById('162');
$jira->setIssueTypeByName('Task');
$jira->setIssueTypeById('1');
$jira->setProjectByKey('PI')
->setIssueTypeByName('Task')
->setSummary('Issue title')
->setDescription('First line of the description')
->addDescriptionNewLine('Another line')
->addDescriptionNewLine('One line more :)')
->createIssue();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.