Hi,
I have a curl command which can add a group named "SVC-OneHygieia" to the Administrators role in all jira projects.
curl -D- -u admin:sphere -X POST -H "Content-Type: application/json" --data '{"group":["SVC-OneHygieia"]}' http://10.20.30.40:8080/rest/api/2/project/TEST/role/12345Now, how to modify this command so that i can add above mentioned group to all the jira projects. I have around 2000+ jira projects.
Note :
- admin is your username
- sphere is your password
- http://10.20.30.40:8080 is JIRA Base URL
- TEST is project key
- 12345 is role ID
Thanks,
Ipsita Dash