I have the following JIRA screen with TABS, and I would like to create vISSUE in the "Resquestor Details" tab through the REST API.
"
Now I have the following code, and I'm not sure where to specify the name of the tab.
public function createTestData($firstName, $surname, $userID, $email, $testPortfolio, $projectName,$projectID, $newSystem, $newProduct, $requirementsFunction, $evinronment, $dueDate, $region, $summary, $description) { if ($this->finduser($email) < 1) { $json = Array ( "fields" => Array ( "project" => Array ( "id" => 20207 ), "summary" => "$summary", "description"=>"$description", "issuetype" => Array ( "name" => "Test Data" ), "customfield_14421" => "$firstName", "customfield_15026" =>"$lastName", "customfield_14490" =>"$userID", "customfield_14415" =>"$email", "customfield_156681" =>Array ("value" => "$testPortfolio"), "customfield_12103" =>"$projectName", "customfield_14236" =>"$projectID", "customfield_14430" =>"$newSystem", "customfield_15672" =>"$newProduct", "customfield_15673" =>Array ("value" => "$requirementsFunction"), "customfield_15685" =>Array ( "value" => "$environment"), "customfield_15700" =>"$region", "reporter" =>Array ("name" => "API" ) ) ); } return $json; }
I looked at the Documentation , but I really do not understand it or do not see it.
I get this error:
cannot be installed. It is not on the appropriate screen or is unknown. for all fields But the fields are on the correct problem. The type and permissions are also correct.