loduis / teamwork.com-project-management

PHP API for Teamwork.com
https://developer.teamwork.com/
MIT License
69 stars 59 forks source link

Add "customFields" and "person" to "Project" #52

Closed apsylone closed 11 months ago

apsylone commented 1 year ago

Hi,

I've tried to add "customFields" and "person" to "Project" model but I met a problem. The attributes are arrays it seems the model doesn't accept it. Could you help me implementing it ?

https://apidocs.teamwork.com/docs/teamwork/a0c29f3b330bd-create-project#request-body

apsylone commented 1 year ago

I think the library is really outdated and should implement newer version of the API. I understand it requires a lot of time, but there is no alternatives at this time. Ping @loduis @paulsheldrake

nigel-wells commented 11 months ago

@simonschaufi I was going to do some work on this repo as I need some additional functionality in it and would prefer to expand on what is here rather than create my own one. The unit tests appear to be referencing projects that don't exist - have they been removed now?

loduis commented 11 months ago

Add custom field support to project image

You can see the custom field in the project image

simonschaufi commented 11 months ago

have they been removed now?

yes. That is why I setup my own test instance on teamwork.com but I won't share that with the community. The tests should actually not really be executed but work with a fake API that returns given responses.