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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,701
Community Members
 
Community Events
184
Community Groups

Monitor User that get added to groups

Hi,
 
This is my first year working with Jira and I've been tasked with the following:
- We manage Jira Software licenses by users that get added to a 'Jira Group' in Atlassian Admin.
- User joins --> License is enabled
 
Request:
The task is to be able to monitor this so that when a user gets added we will know a license has been granted, by email to selected people. We all want to be able to see who is getting licensed so we can pull reporting at the end of every month.
 
 
The idea is:
  1. The user gets added to the group.
  2. Set up some sort of watcher to pull the list of users using the REST API on a schedule and compare the list with the previous one and provide only the new users in that group.
  3. Email the new users to selected people.
 
What I have tried so far:
  • Pulled the list of users in that group using Python using the REST API:
    • GET /rest/api/3/group/member (so far only 50 are generated at a time so I'm looking at pagination, but that's a different topic)
  • Pulled the same list using Postman which is easier to visualize, but I am running into the same issue I only get 50 at a time.
  • I haven't been able to find an out-of-the-box solution in Jira to monitor this group or any group, I am leaning towards Postman to help me with this by using an event tracker and Test scripts.
 
 
If anyone can recommend a different idea, I would highly appreciate it.
 

1 answer

0 votes
Bill Sheboy
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.
Apr 05, 2023 • edited

Hi @Christian Delgado 

Without a marketplace addon to do this, I agree you will need to use pagination to get all the users with the REST API.

To watch for just the changes, you could set up a webhook to push the audit log events related to users, and then parse that in another tool.  It will not have the group change information you note, but the created-event may be enough to help with your REST API calls.  https://developer.atlassian.com/cloud/jira/platform/webhooks/

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events