lesstif / php-jira-rest-client

PHP classes interact Jira with the REST API.
Other
510 stars 263 forks source link

PHP 8.2 support / some properties are still dynamically created #500

Closed mwernaert closed 1 year ago

mwernaert commented 1 year ago

\JiraRestApi\Issue\Version::$startDate \JiraRestApi\Issue\Version::$userStartDate

\JiraRestApi\User\User::$accountType \JiraRestApi\User\User::$locale

lesstif commented 1 year ago

hi @mwernaert I can't found $startDate, $userStartDate type in my project. Have you added a custom filed to the project?

mwernaert commented 1 year ago

Hmm, weird. startDate appears to be a standard field as far as I can see (and userStartDate being a more human readable, like userReleaseDate):

According to the response documentation @ https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-project-versions/#api-rest-api-2-project-projectidorkey-versions-get-responses it shouldn't be included. It is in my case though. I'm using \JiraRestApi\Project\ProjectService::getVersions()

lesstif commented 1 year ago

Hi @mwernaert I got it. Check out v5.4.0, please!

mwernaert commented 1 year ago

Perfect, thanks!