Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

REST API to Create JIRA USER Directory


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.



1 answer

0 votes

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?

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?

Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you