Download the PHP package quangvule/php-jira-rest-client without Composer

On this page you can find all versions of the php package quangvule/php-jira-rest-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-jira-rest-client

PHP JIRA Rest Client

Latest Stable Version Latest Unstable Version Build Status StyleCI Scrutinizer Coverage Status License Total Downloads Monthly Downloads Daily Downloads

Requirements

Installation

  1. Download and Install PHP Composer.

  2. Next, run the Composer command to install the latest version of php jira rest client.

    or add the following to your composer.json file.

  3. Then run Composer's install or update commands to complete installation.

  4. After installing, you need to require Composer's autoloader:

Configuration

you can choose loads environment variables either 'dotenv' or 'array'.

use dotenv

copy .env.example file to .env on your project root.

Important Note: As of March 15, 2018, in accordance to the Atlassian REST API Policy, Basic auth with password to be deprecated. Instead of password, you should using API token.

Laravel Users: If you are developing with laravel framework(5.x), you must append above configuration to your application .env file.

use array

create Service class with ArrayConfiguration parameter.

Usage

Table of Contents

Project

Custom Field

Issue

IssueLink

User

Group

Priority

Attachment

Version

Get Project Info

See Jira API reference

Get All Project list

See Jira API reference

Get Project type

See Jira API reference (get all types)

See Jira API reference (get type)

Get Project Version

get all project's versions.

See Jira API reference

or get pagenated project's versions.

See Jira API reference

Get All Field List

See Jira API reference

Create Custom Field

See Jira API reference

If you need a list of custom field types(ex. com.atlassian.jira.plugin.system.customfieldtypes:grouppicker) , check out Get All Field list.

Get Issue Info

See Jira API reference

Returns a full representation of the issue for the given issue key.

You can access the custom field associated with issue through $issue->fields->customFields array or through direct custom field id variables(Ex: $issue->fields->customfield_10300).

Create Issue

See Jira API reference

If you want to set custom field, you can call the addCustomField function with custom field id and value as parameters.

Currently, not tested for all custom field types.

Create Multiple Issues

See Jira API reference

Create Sub Task

See Jira API reference

Creating a sub-task is similar to creating a regular issue, with two important method calls:

for example ​

Add Attachment

See Jira API reference

Update issue

See Jira API reference

If you want to change the custom field type when updating an issue, you can call the addCustomField function just as you did for creating issue.

Update labels

This function is a convenient wrapper for add or remove label in the issue.

Change Assignee

See Jira API reference

Remove Issue

See Jira API reference

Add comment

See Jira API reference

Get comment

See Jira API reference

Delete comment

See Jira API reference

Perform a transition on an issue

Note: this library uses goal status names instead of transition names. So, if you want to change issue status to 'Some Status', you should pass that status name to setTransitionName

i.e. $transition->setTransitionName('Some Status')

See Jira API reference

Perform an advanced search

Simple Query

See Jira API reference

JQL with pagination

See Jira API reference

JQL query class

See Jira API reference

If you're not familiar JQL then you can use convenience JqlQuery class. JqlFunction class can be used to add jql functions calls to query. You can find the names of almost all fields, functions, keywords and operators defined as constants in JqlQuery and static methods in JqlFunciton classes. For more info see the Jira docs (link above).

Remote Issue Link

get remote issue link
create remote issue link

Issue time tracking

This methods use get issue and edit issue methods internally.

See Jira API reference (get issue)

See Jira API reference (edit issue)

Add worklog in issue

See Jira API reference

edit worklog in issue

See Jira API reference

Get issue worklog

See Jira API reference (get full issue worklog)

See Jira API reference (get worklog by id)

Add watcher to Issue

See Jira API reference

issue notify

See Jira API reference

Create Issue Link

See Jira API reference

The Link Issue Resource provides functionality to manage issue links.

Get Issue LinkType

See Jira API reference

Rest resource to retrieve a list of issue link types.

Create User

See Jira API reference

Create user. By default created user will not be notified with email. If password field is not set then password will be randomly generated.

Get User Info

See Jira API reference

Returns a user.

Find Users

See Jira API reference

Returns a list of users that match the search string and/or property.

Find Assignable Users

See Jira API reference

Returns a list of users that match the search string.

Create Group

See Jira API reference

Create new group.

Get Users from group

See Jira API reference

returns a paginated list of users who are members of the specified group and its subgroups.

Add User to group

See Jira API reference

add user to given group.

Get All Priority list

See Jira API reference

Get Priority

See Jira API reference

Get Attachment Info

See Jira API reference

Gets the attachment information and saves the attachment into the outDir directory.

Remove attachment

See Jira API reference

Create version

See Jira API reference

Update version

See Jira API reference

Delete version

See Jira API reference

License

Apache V2 License

JIRA Rest API Documents


All versions of php-jira-rest-client with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
ext-curl Version *
netresearch/jsonmapper Version ~0.11|^1.0
monolog/monolog Version ~1.12
vlucas/phpdotenv Version ~1.0|~2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package quangvule/php-jira-rest-client contains the following files

Loading the files please wait ....