Forums

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

How do I adjust this Crowd Datacenter Bash script to pull groups with users.

haneen.m.elsaad
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2025

I am writing a bash script (attached it the script snippet). I was able to pull the crowd groups, but I want to also be able to pull all users within those groups as well. Is there a way to do so?

curl -s -k -u test:west \
-H "Accept: application/json" \
"https://crowd-dev-gc.nasawestprime.com/crowd/rest/usermanagement/latest/search?entity-type=group" \
| jq -r '.groups[].name' > groups_only.csv

0 answers

Suggest an answer

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

Atlassian Community Events