composer require coding/sdk
<?php
require 'vendor/autoload.php';
use Coding\Client;
use Coding\Iteration;
$client = new Client();
$projectName = 'project-foo';
$client->setProjectName($projectName);
$client->setProjectToken('c127894e5a851cef22dc317f882dfb9ca6054321');
$iteration = new Iteration($client);
$result = $iteration->create([
'Name' => 'Sprint 1',
]);
$teamDomain = 'my-team';
echo "https://${teamDomain}.coding.net/p/{$projectName}/iterations/${result['Code']}/issues\n";