Interact with Jira's APIs Using Jira PHP

Jira PHP is a supercharged PHP API client that allows you to interact with the Jira API and the Service Desk API.

Jira PHP

Here's a brief example from the package's readme of using the OpenAI PHP client:

$client = Jira::client('USERNAME', 'PASSWORD', 'jira.domain.com');

$result = $client->issues()->search();

echo $result['issues'][0]['key']; // KEY-1000

At the release of this post, the Jira PHP supports the following functions:

  • Attachments:

    • get()
    • remove()
  • Customers:

    • create()
  • Groups:

    • create()
    • remove()
    • getUsers()
    • addUser()
    • removeUser()
  • Issues:

    • create()
    • bulk()
    • get()
    • delete()
    • edit()
    • archive()
    • assign()
    • getComments()
    • addComment()
    • updateComment()
    • deleteComment()
    • getComment()
    • getTransitions()
    • doTransition()
    • attach()
    • search()
  • Requests:

    • create()
  • Users:

    • update()
    • create()
    • remove()
    • get()

To start using Jira with your PHP applications, check out this package on GitHub at devmoath/jira-php.