Can I use automation to invite a user into our Jira Environment?

Henry Choi November 6, 2024

I'm looking to setup an automation where if I enter the email address of a new user, it will automatically do the invite (like Atlassian Admin > Directory > Invite User) to that address. If I can't do it out of the box, is there any API or marketplace app I can use? 

 

Conversely, is there a way to automate suspending users by ID'ing their username?

1 answer

1 accepted

5 votes
Answer accepted
Aaron Pavez _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2024

Hi @Henry Choi 

There is no automation for that or a way to access the invite as you see it in the UI.

You can call the API to create a user:

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

Here is mentioned what to add to the body:

https://community.atlassian.com/t5/Questions/How-can-I-invite-users-in-bulk-using-api/qaq-p/1388790

and then you make another API call to add the user to the groups:

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

Regards

 

Suggest an answer

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

Atlassian Community Events