Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Are there API's to handle the new user flag Jira Service Management - Customer

thorngje
Contributor
July 31, 2023

I noticed last week that we now need to flag users as Jira Service Management - Customer and have been trying to find an API that will flag that as well as Agent and site access.

 

jsmCustomer.JPG

2 answers

1 accepted

2 votes
Answer accepted
Yatish Madhav
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2023

Correct - there are 2 APIs that can be made use of for activating/deactivating the user and adding/removing a user to the groups based on which product is needed.

https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-lifecycle/#api-users-account-id-manage-lifecycle-disable-post

https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-groups/#api-rest-api-2-group-user-post

Also, @thorngje  you may want to see this https://community.atlassian.com/t5/Atlassian-Access-articles/User-management-for-cloud-admins-just-got-easier/ba-p/1576592 - the new user management UI can be enaabled on your instance. We did so by logging a support call and getting it done - with that UI, you wont see those toggles but rather just whcih access on which products and also if a users is active or not (suspended/deactivated)

Hope that helps.

2 votes
Fernando Eugênio da Silva
Community Champion
July 31, 2023

@thorngje 

You can use this Endpoint  for REST API to add a User in Jira Group: /rest/api/3/group/user?groupId={groupId}

REST API Documentation - Add Group User

Basically, Users tagged as 'Jira Service Management - Agent' are users who has a license for your Jira Service Management product. If you use a REST API to add this user in a group who grant access for Jira Service Management, automatically the user will be tagged as Agent in your User Management.

Regards,

Fernando

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events