provider Groups POST
/rest/api/3/group/user @utdk/jira
/rest/api/3/group/user Add user to group
Adds a user to a group.
**[Permissions](#permissions) required:** Site administration (that is, member of the *site-admin* [group](https://confluence.atlassian.com/x/24xjL)).
- groupname query
- As a group's name can change, use of `groupId` is recommended to identify a group. The name of the group. This parameter cannot be used with the `groupId` parameter.
- string
- groupId query
- The ID of the group. This parameter cannot be used with the `groupName` parameter.
- string
Try it
Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.addusertogroup()