Forums

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

How to access the names of members of a group via automation

Eli Devlin
Contributor
July 3, 2025

I have a requirement to expose the names of members of a group (either Atlassian group or Entra synced group) in a request. I can't find any methods that access the names of the members of the group, there doesn't seem to be a smart value that will help either. 

 

Has anyone found a way to access and use the names of group members? Or Account IDs? Or UPN/email addresses? 

 

One of many use cases would be:

Request is waiting for group approval, who are the members of the group that needs to approve it?

 

Thanks, 

Eli

1 answer

1 accepted

4 votes
Answer accepted
Trudy Claspill
Community Champion
July 3, 2025

Hello @Eli Devlin 

You would need to use the Send Web Request action to call the REST API endpoint to retrieve the group members.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-rest-api-3-group-member-get

The output includes the account id, display name, and email address of each group member.

Eli Devlin
Contributor
July 3, 2025

Hi Trudy, 

Thanks for the speedy reply, but would you mind breaking down the detail a little if you have some time? 

As I understand it, I configure send web request automation component as follows:
Web Request URL: https://<domain>.atlassian.net/rest/api/3/group/member 

HTTP Method: GET

Web request body: ??

Key: Authorization - <base 64 encoded email address+API with "Basic " in front of it> 

 

But I'm not really sure what to do after that either.

Thanks in advance for any guidance you can offer!

Like John Funk likes this
Trudy Claspill
Community Champion
July 4, 2025

For this specific endpoint a request body is not required. You put the parameters into the URL itself; i.e.

https://<domain>.atlassian.net/rest/api/3/group/member?groupId=<groupId>

This is shown in the API documentation link I provided.

For endpoints where you use the GET method and no request body is needed, you can test the call by pasting the URL into a browser window when you are already logged in to the specified Jira instance; i.e

https://abc.atlassian.net/rest/api/3/group/member?groupId=5e2ab598-21ab-402c-b018-c99c56930278

The response will display in the browser.

In an automation rule the response will be accessible through the smart value {{webResponse}} as described in the information in the Send Web Request action itself in the Automation rule construction screen.

You will have to add other actions to the rule to pull from that response the data you want to use.

 

 

Like John Funk 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