how to fetch data from JIRA (Bug tracking tool) using PHP application? is it possible or not?
Thanks,
Sagar.
Just check if this helps you in your find:
http://codingx.blogspot.com/2011/04/play-with-jira-api-from-php.html
There are a number of PHP clients that implement the SOAP interface so you can post issues, create users, execute searches using JQL, and anything else provided by the API. One such project is on GitHub at https://github.com/cpliakas/jira-client, and it is also available as a Composer package on Packagist.org at https://packagist.org/packages/cpliakas/jira.
Your best bet is probably to use the SOAP api for jira at http://confluence.atlassian.com/display/JIRADEV/JIRA+RPC+Services
Your best bet is probably to try the built in php soap client.
Related
I'm trying to create a backend architecture using PHP and Parse.com. Is it possible to use the PHP API on localhost?
Of course is it possible. You have official PHP api from parse.com,
also you can find a complete list of third party libraries. Also you have REST api you can use !
Is there anyway to do this? I've looked in the google-api-php-client library but it's not there yet. Is there any other way or am I out of luck?
The search API is only enabled for Python Java and Go, as Mario pointed out.
I would look into the modules documentation and try to separate your logic. Your search API can be the only module that isn't in PHP. There is no other solution for your problem unfortunately.
The team promised that a REST API would be made available at Google I/O 2011. I haven't been able to find any follow ups since.
https://www.youtube.com/watch?v=7B7FyU9wW8Y#t=2088
You CAN now access the Search API natively from PHP.
The library is in alpha but should make its way to release fairly soon.
It uses the Google Protocol Buffers so it's the same level of abstraction as the Python/Java/Go SDKs
https://github.com/tomwalder/php-appengine-search
Feedback appreciated!
I ran into this problem previously, so wrote a sample PHP+Python module pair to allow access to search via URL fetch to a Python module.
https://github.com/tomwalder/phpne14-text-search
I have a similar scenario as you. This might not be the best solution, but I've solved it as follows:
I've created a Python module using Google Endpoints API to expose a set of methods capable of sending and receiving JSON formatted data via HTTP GET or POST. These methods allow me create Documents and Indexes or do queries.
My PHP client, simply calls these urls and passes appropriate data.
So effectively I have a wrapper around the search API and the python stuff is hidden inside.
I am creating a php class library and want to place this on my own server and related the application code placed on another server. Now I what I need is to synchronize them ie the class library could be accessed by the application(s) on the other server.
How to provide a solution so that other application(s) could access my library.
There are several ways to access this library, but you can't access it like the other local libraries or classes. The good way is to use web services.
A good solution is to use SOAP. PHP provides good API for SOAP, which enables you to create SOAP server and client very easily.
You will create a SOAP web server at the library end (on the server where the library is placed), and expose all the functions to the web service which you need to access. This is a very good solution and easy to use. You can find a good SOAP in PHP article here
http://www.codewalkers.com/c/a/Miscellaneous/Using-SOAP-with-PHP/
And also read these
https://stackoverflow.com/questions/8657980/how-to-make-web-service-in-php
php web service example
and this
http://www.vankouteren.eu/blog/2009/03/simple-php-soap-example/
Also another way is to use xml and JSON. Please read this good article.
http://davidwalsh.name/web-service-php-mysql-xml-json
Please do more research and ask Mr. Google several times, and you will get a good solution according to your needs.
Hope this will help you.
Thank you
You are trying to include a file from a different domain.
So that's cross domain.
If you want to use the functions via ajax you can use JSONP.
Is it possible to extract svn information (commits etc.) from Jira via its api (Soap, Rest). I have Jira Subversion plugin enabled and it shows information about commits, but I don't know how to extract this information calling the api methods.
This is a very interesting question. I do not know for any API call and the SubversionPlugin Documentation doesn't suggest one. But you could always get direct access to a read-only copy of your JIRA instance's DB or query it using the API.
Your best options is to try posting a question on the Atlassian answers site or better yet creating a support request.
The thing is that if there is no API currently, they could be developing one right now and Atlassian may connect you with the developers so that they can give you further information.
They may even provide you with some early-access solution. I know this because we've used this option at the company I currently work at, but with the Tempo plugin. Hope this helped.
I am trying to create a webservice using the PHP Soap extension and I am having problems with the .wsdl. Is there an easy way to generate 2.0 wsdl's? Where is a good site (or book) that I can look to in order to determine how to build the WSDL? I have no problem getting my soap client to retrieve soap messages from other web services so I know soap is installed and working. I have found a few links out there that generate WSDL's for you, but most of the sites are down. Any help pointing me in the right direction would be helpful
PHP does not have a built-in WSDL generation utility. I would recommend using Zend_Soap_Server which supports WSDL generation via its Autodiscover feature.