we manage in our Jira all the companies divisions employees. This means that when we create a new user account we add them to the divisionA and to the Employee group. In the case of a different user from Division B we add them to divisionB group and then to the Employee. This Employee group is obligatory because it serves issue security aims (other group is Customers).
Hence we have to add the users more and more groups, is there a feature which automatically add the Employee group to the user when we add them to one of the division group? Maybe a script or something.
For instance: I create a user, add the user to the DivisonB group and it will be added automatically to the Employee group.
Can you please suggest?
Note, that the nested groups is not a solution, hence it significantly slow up our application!
Thanks in advance!
No, you create a custom script suitable for the groups you need to deal with. Something like:
--action addUser --userId @userId@ --userFullName "@userName@" --userEmail @userEmail@ --action addUserToGroup --userId @userId@ --group Employee --action addUserToGroup --userId @userId@ --group @division@ ...
Then you would run it when a new user was needed using something like:
--action run --file myscript.txt --findReplace "@division@:DivisionA,@userId@:newUser,@userName@:New UserName,@userEmail@:newUser@domain.com"
can this script run for instance in every 5 minutes?
I mean I would like to achieve that in the case of new user creation, I would have to add the user to only 1 specific group (division group) and then the user will be automatically add to the Employees group, Internal group and confluence group (these 3 are our standard groups to which all employees has to be added.)
Using CLI is same effort as picking these 3 groups when creating a user, or not?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs