Skip to content
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

Users Stream #29

Open
visch opened this issue Sep 8, 2021 · 2 comments
Open

Users Stream #29

visch opened this issue Sep 8, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@visch
Copy link
Contributor

visch commented Sep 8, 2021

https://clickup.com/api -> Get User

I'd guess I'm missing something but I can't find a way to list all the users. It's an enterprise only feature so that could explain my issues.

@visch visch mentioned this issue Sep 8, 2021
5 tasks
@visch visch added the enhancement New feature or request label Sep 29, 2021
@visch visch changed the title Users Stream - Not clear how to get user_id Users Stream Sep 29, 2021
@LucasZielke
Copy link
Contributor

I'm thinking that grabbing the users from the old GET: https://api.clickup.com/api/v2/team $.teams.members[] is going to be the easiest way to grab the users since workspaces doesn't list users and there's no current solution for just get all users

Might possibly be able to then fill in the context by querying GetUser on the id element gathered from $.team.members[user.$id] for each user.

@visch
Copy link
Contributor Author

visch commented Sep 30, 2021

I'm thinking that grabbing the users from the old GET: https://api.clickup.com/api/v2/team $.teams.members[] is going to be the easiest way to grab the users since workspaces doesn't list users and there's no current solution for just get all users

Might possibly be able to then fill in the context by querying GetUser on the id element gathered from $.team.members[user.$id] for each user.

Makes a lot of sense! I think your instance and the other I'm working with are both non-enterprise. What you listed there sounds right, but I don't think we can test it without an enterprise instance to test with.

{ "err": "Team must be on enterprise plan", "ECODE": "TEAM_110" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants