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

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events