Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to create new user using rest API via shell script

Rajkumar Jain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2021

Hi Team,

I am trying to create a new user in Jira application using shell script. But continue getting exception while login with Admin user account.

I tried with UI and try to capture API but not able to understand how application is creating user. Capture below url

rest/api/1.0/shortcuts/813009/fb4d8b3796f25655dc1d7d0d2c83b716/shortcuts.js?context=admin

Please help me to create a user via Rest API / Shell script

Thanks

Rajkumar

1 answer

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
September 7, 2021

Hi @Rajkumar Jain , welcome on the community.

 There is documented REST API for Jira and I can see, there is an endpoint to create a user in 8.19.0. Is there any reason why you're not using standard REST API?

https://docs.atlassian.com/software/jira/docs/api/REST/8.19.0/#user-createUser

Suggest an answer

Log in or Sign up to answer