makeplane / plane

šŸ”„ šŸ”„ šŸ”„ Open Source JIRA, Linear, Monday, and Asana Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
http://plane.so
GNU Affero General Public License v3.0
29.01k stars 1.59k forks source link

[feature]: Get members via API #5061

Open mmospanenko opened 2 months ago

mmospanenko commented 2 months ago

Is there an existing issue for this?

Summary

I can't get usernames via API, there are no members endpoints in the docs https://docs.plane.so/api-reference/introduction

But if call GET Projects using session header - there is members property. But not using token.

Any ideas how to get usernames for author or assignee?

Why should this be worked on?

Need user's username, avatar, etc for integrations/synchronizations data.

oedudev commented 1 month ago

We are using Plane One and this is a pain on our discord bot integration.

For me, makes no sense give the user id on API and not be able to recover the details of that user.

If it's a simpler solution, the user itself with username and avatar could be sent instead of user id

vihar commented 1 month ago

@oedudev, @mmospanenko, thanks for the feedback. We are a small team and are currently focused on building native importers for Plane One and Cloud, with self-hosted support coming soon. However, I understand that having multiple options on the API would also help build your own integrations. We will soon have a dedicated team to handle our API and address this request.

Iā€™m curious about the integrations you are working on. I see that @oedudev is working on a Discord bot, which we will soon ship natively.