chobie / jira-api-restclient

php JIRA REST API
MIT License
218 stars 123 forks source link

Please implement option to specify the fields to return from JIRA in the search() method #2

Closed SparklingSoftware closed 8 years ago

SparklingSoftware commented 12 years ago

Hi,

Again: Awesome library! :-)

As a... developer

I would like to... be able to specify the fields that will be returned by JIRA while calling the search method with a JQL statement.

so that... I can reduce the amount of data send across the network and therefore increase the website responsiveness.

Cheers, Stephan

chobie commented 11 years ago

Hi, Stephan.

you can specify fields option to 4th parameter.

https://github.com/chobie/jira-api-restclient/blob/master/Jira/Api.php#L207

but i don't know what kind of options are available. (there are several undocumented options i think) let me look into JIRA source code and i'll write docs.

https://developer.atlassian.com/static/rest/jira/5.0.html#id202584

SparklingSoftware commented 11 years ago

Thanks, you are correct. I retried about two weeks ago and its working fine now, so probably error on my part.

Sorry for the late reply, I totally forgot to get back to you!

Cheers, Stephan

aik099 commented 8 years ago

Closing as the issue is now resolved.