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

Enabling site access on JIRA CLOUD to user using REST API Edited

Hello,

We created users using administrators account. New users are appeared in Users section on JIRA, but created users are not having access on site.

We have hundreds of users and dont want to do it manually from each user's details page.

 

Is any API option to make this, so I can put in script and iterate for all users.

 

Tried with curl command as:

curl --insecure -D- --show-error -u admin:pass -X POST --data '{"name":"clientuser","active":"true"}' -H "Content-Type: application/json" https://account.atlassian.net/rest/api/2/user?username=clientuser

 

but it saying user already exists

 

 

Gone through https://confluence.atlassian.com/jirakb/user-management-rest-api-changes-in-jira-cloud-858756548.html tried to use PUT, but saying method not available.

 

Thanks

1 answer

0 votes

Hello,

I guess, the users, you created, are not included in any group, which grants access to your site.

You can do it two ways:

1. Go to Product -> Product Access and enable the New users have access to this product. In this case new users will be added automatically to the default group for the product (existing users will not be added):

Screenshot 2019-03-08 at 09.58.50.png2. Execute another Rest Api request to add the created users to a group, which are presented in the Product -> Product Access screen

Hi

 

I have the same issue but I have already added the users to groups and i checked new users have access to the product but still Access site is greyed out

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

864 views 6 24
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