Automation for adding users to group

Nand Patel October 22, 2024

Hello all - 

 

Wondering if anyone knows of a way to setup an automation to automatically add users to a Jira Group. I have a group setup for VIP users within Jira. I'd like to have an automation setup to add users to this group when they are added to a certain Distribution List. Does anyone know if this is possible? 

4 answers

1 vote
Kieren _SmolSoftware_
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.
October 22, 2024

Hey @Nand Patel 

@Tomislav Tobijas _Koios_ has the best solution if you’re comfortable with using the APIs.

Another possible solution is to use an app like Admin Automation to automatically add users to groups, though I’m not sure where/how you’re storing the distribution list.

-Kieren

Co-Founder @ Admin Automations | Ex-Atlassian

0 votes
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 24, 2024

Hi @Nand Patel 

Welcome to community :) 

Here you can set up a role and add default members to the role 

Screenshot 2024-10-24 at 1.08.06 PM.png

 

When a new project is created, it will be assigned these 'default members' for the the project role. Note that 'default members' apply only when a project is created. Changing the 'default members' for a project role will not affect role membership for existing projects.

 

Thank You,

Prachi

0 votes
Tomislav Tobijas _Koios_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 22, 2024

Hi @Nand Patel ,

The approach with this would be by using REST API and POST method to add users to a group.

I don't have an actual example here (we did something similar though), but you could take a look at the following discussion and question replies: https://community.atlassian.com/t5/Jira-questions/How-to-add-user-automatically-to-mentioned-group-in-Jira/qaq-p/2231082

Cheers,
Tom

Nand Patel October 25, 2024

Hi Tomislav, 

 

Thank you for your reponse, I will try this and revert back.

0 votes
Lucas Knorr
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.
October 22, 2024

Hi @Nand Patel

Is the distribution list you are referring to also managed in your Jira?

Generally speaking: Yes, it is possible to automatically add users to groups. You can find the logic for this here: https://developer.atlassian.com/cloud/admin/organization/add-user-to-group/
However, I would actually recommend having this done via a connected Identity Provider.



Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events