Example of creating an issue with PHP

Michael Tuszynski June 25, 2012

Does anyone have an basic example of creating a case in JIRA via the REST API using PHP ? We've been struggling to get the authentication and request to happen correctly, and was wondering if anyone else in the community is doing this via PHP. Thanks in advance.

3 answers

2 votes
Michael Knight
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2012

Hi,

I've put up an example using PHP's cURL library (included in most distributions) here.

Sneha M April 5, 2017

Hi Michael Knight,

How do we escalate an issue using PHP and Curl?

I went through the create issue example, what are the required fields for escalation.

Thanks in advance:)

 

 

0 votes
Andrew Roslik aka Kirby May 25, 2017

Please take a look at https://github.com/chobie/jira-api-restclient. This is a PHP Composer package.

0 votes
Yoo February 10, 2015

With your example how do you go about sending the component number as well? I can't seem to get the syntax right.

Suggest an answer

Log in or Sign up to answer