We have a custom plugin we've made that, among other things, allows our support division to add new "customers" with additional data (phones numbers, etc.). Recently we have been trying to switch these portal users (customers) to have Atlassian accounts.
Is there a way for me to create a new user that only has Site Access, no product access (so that it doesn't use a license)? Thus far when I create a customer through our plugin using the REST API, it is creating them as user and automatically adding them to the default access group for Jira Software. I've made a separate group that they can be added to that only has Site Access, but I am unsure how to get them into this group from creation in code.
Thank you for any help,
Virginia
Dear @Virginia Elliff ,
to be honest, I think this is default behavior of the REST. Just fire two requests short after creating news users:
DELETE /rest/api/2/group/user?username=newuser&grouname=jira-software-users
POST /rest/api/2/group/user?groupname=newgroup {"name": "newuser"}
so long
Thomas
Thanks for the response, @Thomas Deiler
We were hoping to not have to do it that way as it would require us to keep a license open just to be able to create these users. That creation would fail if no more licenses were available.
So I was keeping my fingers crossed that someone had found a way to specify group at creation.
Thank you again for your response,
Virginia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Virginia Elliff ,
this seems to be a know problem: JRACLOUD-65579 You simply cannot (yet) do what you want.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, @Thomas Deiler
I seem to have missed that ticket in my searching.
You've been a great help.
Virginia
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.