I'd like to add the users to the crucible groups by using of REST API.
This was requested by a Korea Customer urgently, so I was trying to develop some script with Python.
However, I can't put the users into the Crucible group.
Here is the source code what I've been developing so far.
Could you please advise which should be changed for that?
username = "hyunjun.kim1"
password = "thddkwl12"
data = json.dumps(
r = requests.get('http://crucible.hynix.com:8060/rest-service-fecru/admin/groups/Amber-FlashSolution-users/users',
test = json.loads(r.text)[u'values']
r = requests.put('http://crucible.hynix.com:8060/rest-service-fecru/admin/groups/Amber-FlashSolution-users/users',
Hi Hyunjun Kim,
There is an example REST API Python client which covers user management.
create_user("example_user", "1234", "Example User", "email@example.com") create_group("example_group") add_user_to_group("example_user", "example_group")
Your usage of the REST API looks correct. What error are you getting?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
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