src/Jira/Api.php
public function getRoleDetails($project_key, $role_id)
	{
		return $this->api(
			self::REQUEST_GET,
			sprintf('/rest/api/2/project/%s/role/%s', $project_key, $role_id),
			array(),
			true
		);
	}
public function getRoleDetails($project_key, $role_id)
	{
		return $this->api(
			self::REQUEST_GET,
			sprintf('/rest/api/2/project/%s/role/%s', $project_key, $role_id),
			array(),
			true
		);
	}
public function getRoleDetails ( $ project_key , $ role_id ) { return $ this -> api ( self :: REQUEST_GET , sprintf ( '/rest/api/2/project/%s/role/%s' , $ project_key , $ role_id ) , array ( ) , true ) ; }
Returns role details.

@param string $project_key Project key.
@param string $role_id     Role ID.

@return array|false
Returns role details .