The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to create users programmatically?

Chong Jing Hong
Contributor
June 23, 2021

How to create users programmatically?

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Hyrum Steffensen {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 23, 2021

Hello Chong Jing Hong,

Consider using a scripting solution as found on the Atlassian Marketplace.

If you are using Power Scripts, you can do so using the admCreateUser() routine. For example (from the documentation):

Screen Shot 2021-06-23 at 11.43.37 PM.png

Regards,

Hyrum

Due to Confluence Cloud security features, you may need to open the documentation in incognito mode or by logging out of Confluence.

Please note that I am a product engineer for Power Scripts and that I work for Anova Apps (Appfire).

0 votes
Vikrant Yadav
Community Champion
June 23, 2021
Chong Jing Hong
Contributor
June 23, 2021

Hi @Vikrant Yadav , thanks for replying. I'll check out the links

Chong Jing Hong
Contributor
June 24, 2021

Hi @Vikrant Yadav , it seems that the first link that you provided has already been deprecated and the REST API documentation doesn't have a method of creating new users, just getting existing users

Like Vikrant Yadav likes this
Vikrant Yadav
Community Champion
June 24, 2021

Yes , you are right. I have just double checked , create user API is not available for confluence in latest api doc. 
Unfortunately you have to create users manually.

Thanks

0 votes
Ollie Guan
Community Champion
June 23, 2021
Chong Jing Hong
Contributor
June 23, 2021

Hi @Ollie Guan , appreciate your response. I'm working on Confluence Server, not Jira Cloud.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events