Download the PHP package g3r4/php-jira-rest-client without Composer
On this page you can find all versions of the php package g3r4/php-jira-rest-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-jira-rest-client
PHP JIRA Rest Client
This fork does not force you to use dotenv.
Requirements
- PHP >= 5.5.9
- php JsonMapper
- phpdotenv
Installation
-
Download and Install PHP Composer.
-
Next, run the Composer command to install the latest version of php jira rest client.
or add the following to your composer.json file.
-
Then run Composer's install or update commands to complete installation.
- 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: If you are using previous versions(a prior v1.2), you should move config.jira.json to .env and will edit it.
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
- Get Project Info
- Get All Project list
- Get Project Type
- Get Project Version
Custom Field
- Get All Field list
- Create Custom Field
Issue
- Get Issue Info
- Create Issue
- Create Issue - bulk
- Create Sub Task
- Add Attachment
- Update issue
- Change assignee
- Remove issue
- Add comment
- Perform a transition on an issue
- Perform an advanced search, using the JQL
- Simple JQL
- JQL With pagination
- Issue time tracking
- Add worklog in Issue
- Edit worklog in Issue
- Get Issue worklog
- Add watcher in Issue
IssueLink
- Create Issue Link
- Get Issue LinkType
User
- Get User Info
- Find Users
- Find Assignable Users
Group
- Create Group
- Get Users from group
- Add User to group
Get Project Info
Get All Project list
Get Project type
Get Project Version
get all project's versions.
or get pagenated project's versions.
Get All Field List
Create Custom Field
Get Issue Info
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
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 Issue
Create Sub Task
Creating a sub-task is similar to creating a regular issue, with two important method calls:
for example
Add Attachment
Update issue
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.
Change Assignee
Remove Issue
Add comment
Perform a transition on an issue
Perform an advanced search
Simple Query
JQL with pagination
Issue time tracking
Add worklog in issue
edit worklog in issue
Get issue worklog
Add watcher in Issue
Create Issue Link
The Link Issue Resource provides functionality to manage issue links.
Get Issue LinkType
Rest resource to retrieve a list of issue link types.
Get User Info
Returns a user.
Find Users
Returns a list of users that match the search string and/or property.
Find Assignable Users
Returns a list of users that match the search string.
Create Group
Create new group.
Get Users from group
returns a paginated list of users who are members of the specified group and its subgroups.
Add User to group
add user to given group.
License
Apache V2 License
JIRA Rest API Documents
- 6.4 - https://docs.atlassian.com/jira/REST/6.4/
- Jira Server latest - https://docs.atlassian.com/jira/REST/server/
- Jira Cloud latest - https://docs.atlassian.com/jira/REST/latest/
All versions of php-jira-rest-client with dependencies
netresearch/jsonmapper Version ~0.11|^1.0
monolog/monolog Version ~1.12