I set up Jira and now want to start by changing some of the details about my own profile. Right now I have the code to get the JSON with my profile information, can I somehow send that back and actually change the information with it?
$username = 'test';$password = 'test123';$curl_handle=curl_init();curl_setopt($curl_handle, CURLOPT_URL,'http://localhost:8080/rest/api/2/user?username=test');curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true);curl_setopt($curl_handle, CURLOPT_USERPWD, "$username:$password");curl_setopt($curl_handle, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);$query = curl_exec($curl_handle);$wantedString = json_decode($query);print_r($wantedString->name);$wantedString->name = 'test1';print_r($wantedString);
Hello Insight users, As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...
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