src/Jira/Api.php
public function getIssueTypes()
	{
		$result = array();
		$types = $this->api(self::REQUEST_GET, '/rest/api/2/issuetype', array(), true);

		foreach ( $types as $issue_type ) {
			$result[] = new IssueType($issue_type);
		}

		return $result;
	}
public function getIssueTypes()
	{
		$result = array();
		$types = $this->api(self::REQUEST_GET, '/rest/api/2/issuetype', array(), true);

		foreach ( $types as $issue_type ) {
			$result[] = new IssueType($issue_type);
		}

		return $result;
	}
public function getIssueTypes ( ) { $ result = array ( ) ; $ types = $ this -> api ( self :: REQUEST_GET , '/rest/api/2/issuetype' , array ( ) , true ) ; foreach ( $ types as $ issue_type ) { $ result [ ] = new IssueType ( $ issue_type ) ; } return $ result ; }
Get available issue types.

@return IssueType[]
Get available issue types .