How to add customer user directly by DB

I try to create a new user by a insert in JIra DB cwd_user table. I see the user into Jira User Management Panel but it seems unable to be logged in.


It also misses information like directory and full name. 


INSERT INTO cwd_user (ID,directory_id,user_name,lower_user_name,active,created_date,updated_date,first_name,lower_first_name,last_name,lower_last_name,display_name,lower_display_name,email_address,lower_email_address,CREDENTIAL,deleted_externally,EXTERNAL_ID) VALUES (11620,1,'utest','utest',1,now(),now(),'utestnome','utestnome', 'utest gmail','utest gmail','utente utest gmail', 'utente utest gmail','','','{PKCS5S2}C850oEnhKd/VvsSCOAH395xN3cKNiYTWM8wn/vi4Fiud1wLXvupc1a+VwIuk37uy',NULL,NULL);




1 answer

1 accepted

This widget could not be displayed.

Why would you add a user through SQL statement? You should not do it. If you want to add a user, a simple way to do it is to use Jira Rest Api

POST /rest/api/2/user

You can find more information here

Alex Thank you  kindly :) It works!!!!!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

269 views 5 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you