I'm looking to script the process of user directory creation using PowerShell. Can you point to any resource that would help me doing it using REST?
I'm planning on getting the inputs from another User Directory export -or- XML/JSON.
When using Crowd, you can use the REST requests for Add User. The Add User requests will allow you to create a user within Crowd and from Crowd the user can be granted privileges within Jira.
Powershell has methods within itself to allow for ConvertFrom-JSON and ConvertTo-JSON to allow you to pickup variables and convert them to or from. This will allow you to take JSON data, get the variables you need and then place them within the Invoke-RestMethod within Powershell.
As far as what you’re looking for, are you needing examples or documentation to help facilitate your learning?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events