jira-php icon indicating copy to clipboard operation
jira-php copied to clipboard

:feature request: How can we access other api endpoints not covered?

Open vesper8 opened this issue 2 years ago • 2 comments

What happened?

I would like to access the customFields endpoint https://docs.atlassian.com/software/jira/docs/api/REST/8.0.0/#api/2/customFields

And ultimately I would like to be able to create new customFields via the API

Could you explain if it's possible to access endpoints that you did not include as of yet?

Many thanks!

How to reproduce the bug


Package Version

0.1.0

PHP Version

8.2

Which operating systems does with happen with?

No response

Notes

No response

vesper8 avatar Dec 04 '23 17:12 vesper8

And here is the api endpoint for creating a custom field

https://docs.atlassian.com/software/jira/docs/api/REST/8.0.0/#api/2/field

Is there any chance you could add these to your package pretty please @devmoath

vesper8 avatar Dec 04 '23 17:12 vesper8

Hi @vesper8 , I did a PR to add the project endpoint, you can use that PR as an example to create your own.

https://github.com/devmoath/jira-php/pull/12/commits/b31089ef17930abf8bb5f87589f179903ce495d7

These are the steps to do your own PR

https://github.com/devmoath/jira-php/blob/0.x/CONTRIBUTING.md

mi-lopez avatar Mar 10 '24 11:03 mi-lopez