PHP code example of oguzhantogay / jira-cli

1. Go to this page and download the library: Download oguzhantogay/jira-cli 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/ */

    

oguzhantogay / jira-cli example snippets

bash
    php bin/jira-cli configure-account-id
    
bash
php bin/jira-cli show-issue --issueKey=ISSUE-123
bash
php bin/jira-cli create-issue
bash
php bin/jira-cli edit-issue --issueKey=ISSUE-123
bash
php bin/jira-cli assign-issue --issueKey=ISSUE-123 --assignee=account_id
bash
php bin/jira-cli delete-issue --issueKey=ISSUE-123
bash
php bin/jira-cli configure-account-id
bash
php bin/jira-cli show-user-detail
bash
    php bin/jira-cli configure-account-id
    php bin/jira-cli show-user-detail
    
bash
    php bin/jira-cli create-issue
    php bin/jira-cli assign-issue --issueKey=ISSUE-123 --assignee=account_id
    php bin/jira-cli show-work-log --accountId=your_account_id --period=daily --detailed