how to get total number of user using python in confluence cloud?

Vishal Kanoujiya July 15, 2022

1) how get the total number of user using scriptrunner in confluence cloud?

2) Step how to connect python code with confluence?

3)How to get the total number of user using python in confluence cloud?

In scriptrunner, srcript console how to get total number user and what is the script for that in script runner console confluence cloud?

2 answers

0 votes
Srinatha T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2022

@Vishal Kanoujiya , the below page has an option to email script runner support. 

Thanks,

Srinath T

Vishal Kanoujiya July 16, 2022

attach.PNG

 

Hello @Srinatha T  Thanks for sharing I  have already this confluence page .

I am running this code in script in console after that I am getting error as log file which is I mentioned, could you please help regarding this error code: status: 403 - Forbidden

please guide me how to solve this error ?

Thanks

Like Srinatha T likes this
Srinatha T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2022

@Vishal Kanoujiya , I am not expert in python and very bad at REST API's. As far as i know. The above error 403 can occur for two reasons 

1)Either the content you are trying to access is not available

2)The user does not have access to the space or the page you are trying to access. 

I see you are using a Token to access the same. You should check this page for creating API tokens

Thanks,

Srinath T

0 votes
Srinatha T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2022

Hi @Vishal Kanoujiya ,

Welcome to Atlassian community. 

There are a lot of built in scripts and I could not find one for number of users in script runner page. You might want to get in touch with script runner team for a demo on how to use it and check if they have all the features your looking for . 

I hope the info helps. Have a good day!

Thanks,

Srinath T

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events