Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add a user with "edit" permissions on all "restricted" pages?

Hello, I have a "Knowledge Base" space with hundreds of pages in it. The goal is to move some pages to their separate space.

To be able to perform "Move" operation, Atlassian mentioned that I should have access ("Edit" permissions) on all restricted pages in this space. 

The issue here is, this space has hundreds of restricted pages. I have the below script which can update the restrictions of one page at a time. It needs PageID as input.

Now, updating one page at a time is time consuming and tiring activity.

Can someone help on updating this script in such a way that it runs on all restricted pages in this particular space?


curl --request POST \
--url 'https://<instance>{page ID}/restriction' \
--user '<email>:<API token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '[
"operation": "update",
"restrictions": {
"user": [
"type": "known",
"accountId": "<user ID>"



Log in or Sign up to comment
Community showcase
Published in Confluence

Wouldn't it be nice to have this Jira-Confluence integration?

...ossibility became true in a not too far future, project/space access would be left in the hands of all team members. Don't get me wrong: I'd love it! However, it would also be nice to have a way in which j...

54 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you