public function create($projectKey, $issueTypeName)
    {
        $fieldsMetadata = $this->getCreateMetadataFields($projectKey, $issueTypeName);

        $fluentIssueCreate = new FluentIssueCreate($this->client, $fieldsMetadata);

        return $fluentIssueCreate->field(Field::PROJECT, $projectKey)
                        ->field(Field::ISSUE_TYPE, $issueTypeName);
    }
public function create($projectKey, $issueTypeName)
    {
        $fieldsMetadata = $this->getCreateMetadataFields($projectKey, $issueTypeName);

        $fluentIssueCreate = new FluentIssueCreate($this->client, $fieldsMetadata);

        return $fluentIssueCreate->field(Field::PROJECT, $projectKey)
                        ->field(Field::ISSUE_TYPE, $issueTypeName);
    }
public function create ( $ projectKey , $ issueTypeName ) { $ fieldsMetadata = $ this -> getCreateMetadataFields ( $ projectKey , $ issueTypeName ) ; $ fluentIssueCreate = new FluentIssueCreate ( $ this -> client , $ fieldsMetadata ) ; return $ fluentIssueCreate -> field ( Field :: PROJECT , $ projectKey ) -> field ( Field :: ISSUE_TYPE , $ issueTypeName ) ; }
Creates an issue or a sub-task

@param string $projectKey
@param string $issueTypeName
@return FluentIssueCreate
@throws JiraException
Creates an issue or a sub - task