Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you might find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to automate Team members?

Zachary Howard
Contributor
August 22, 2024

We want to start using the Teams feature in Jira, Confluence, etc. but one thing that seems inconvenient is how adding someone to a Team is a manual process. Is there any way to associate Teams with a specific user group?

I've tried looking into it an have found very little on the topic. 

1 answer

2 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2024
Zachary Howard
Contributor
August 23, 2024

Actually the second part of that page seems to be referencing how to modify the Team members, no?
https://developer.atlassian.com/platform/teams/rest/v1/api-group-teams-members-public-api/#api-group-teams-members-public-api

Now I am wondering if there is a way to use the REST API (maybe with ScriptRunner) to automate these? 

Something like:

  1. Once a week pull the Group members list
  2. Pull the corresponding Team members list
  3. Compare the two values
  4. IF TeamMembers != GroupMembers modify the TeamMembers list

 

Thoughts on this?

 

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 23, 2024

You are right. I'm doing too much multi-tasking again.

I'm not adept at ScriptRunner scripting so I can't advise on that.

I know that with Automation Rules you can run rules on Schedules and use the Send Web Request action to call REST API endpoints. There's an article about the Send Web Request action here:

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Like Zachary Howard likes this

Suggest an answer

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

Atlassian Community Events