The directory in Atlassian is available to multiple Atlassian products like Jira, Confluence, etc.
I am trying to create an account in the directory using the POST API . The user created can be accessed by both Jira and Confluence. However, I want to create users only for Confluence and not for Jira.
Similarly when I am using the DELETE API to remove/deactivate a user from the directory, it is removing the user even if the user has access to other Atlassian products(like Jira, Confluence, etc.). I want to delete a user only for Confluence but the user should be able to access Jira.
Are there any other APIs for user creation/deletion that is Atlassian product specific? I need to create and delete users only from Confluence irrespective of other atlassian product accesses. Please help.
Hi @Mrinalini Pal ,
no, there's no such API endpoint.
There is always only one account for one user and you grant the user access to different Atlassian products (this is done by adding user to some specific user groups).
See more here.
Okay. So you mean I can add users to the directory and make them part of a specific user groups for Jira and Confluence separately?
What should I do if I have a user account as a part of a directory and belonging to two groups, one for Confluence and one for Jira. But I need to revoke Confluence access from the user while maintaining Jira access. Should removing the user from the Confluence group be enough to restrict Confluence access for the user?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, exactly, removing the group, which provides access to Confluence, should be enough. User will still be able to get to Jira, but not to Confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I am fetching all the groups using the Fetch Groups API, I am getting a list of groups in the response that includes a group for Confluence named confluence-users that has been generated automatically because I did not create this group explicitly. I also see a number of groups for Jira (jira-administrators, jira-core-users, jira-servicemanagement-users, jira-software-users) all generated automatically.
I want to create a group in the directory, add accounts as members to the group and provide the group with Confluence access so that only the users that are part of the group can access Confluence. Are there any APIs that can be used to provide Confluence access to a group and revoke Confluence access from a group?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mrinalini Pal ,
is there any particular reason, why do you want to create a new group for this? Because confluence-users and all these groups were prepared exactly for this purpose, so I would recommend you to use these (if user is a member of confluence-users, he has access to Confluence etc.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hana Kučerová ,
The solution for adding the users to confluence-users group to provide Confluence access and deleting the users from the group to revoke Confluence access works !
Thank you for the guidance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hana Kučerová ,
Is there API to perform search on Confluence users only that supports filter and pagination? I want to perform a search operation on users that have Confluence access and that are active in the user provisioning directory.
Please help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mrinalini Pal ,
I apologize for the late answer. It's a little bit strange, but it looks like the endpoint, which enables you to search for the users, exists only for Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.