-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get an issue's watchers #334
Comments
Since Redmine 2.3.0 you can include the watchers in the issues details, see https://www.redmine.org/projects/redmine/wiki/Rest_Issues#Showing-an-issue Using the mid level API it should work like this: $client->getApi('issue')->list([
'include' => [
'watchers',
],
]); |
That's similar to what I tried (passed |
You are right. Including the watchers to a list of issues is missing in the Redmine API atm. I've found this feature request: https://www.redmine.org/issues/36848 As a workaorund you could call every issue in a separate call with included watchers. But this might become very costly. |
Yes, definately, with a list of 6000 issues that need to be filtered by watchers over network, it takes too long. |
How can one get the current watchers of an issue? Is there any implemented way, other than using the low level API? If not, I'd like to put this as an feature request. Thank You very much!
The text was updated successfully, but these errors were encountered: