Hi,
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.
Thanks
-Arnab
Hello Arnab,
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?
Regards,
Stephen Sifers
Hello, @Stephen Sifers .
But it is actually possible to automate addition of new LDAP User Directory to Jira via Java or rest api?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.