You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.