public function getEditMetadata($issue)
    {
        $path = "/issue/{$issue}/editmeta";

        try {
            $data = $this->client->callGet($path)->getData();

            if (!isset($data['fields'])) {
                throw new JiraException("Bad metadata");
            }

            return $data;
        } catch (Exception $e) {
            throw new JiraException("Failed to retrieve issue metadata", $e);
        }
    }
public function getEditMetadata($issue)
    {
        $path = "/issue/{$issue}/editmeta";

        try {
            $data = $this->client->callGet($path)->getData();

            if (!isset($data['fields'])) {
                throw new JiraException("Bad metadata");
            }

            return $data;
        } catch (Exception $e) {
            throw new JiraException("Failed to retrieve issue metadata", $e);
        }
    }
public function getEditMetadata ( $ issue ) { $ path = "/issue/{$issue}/editmeta" ; try { $ data = $ this -> client -> callGet ( $ path ) -> getData ( ) ; if ( ! isset ( $ data [ 'fields' ] ) ) { throw new JiraException ( "Bad metadata" ) ; } return $ data ; } catch ( Exception $ e ) { throw new JiraException ( "Failed to retrieve issue metadata" , $ e ) ; } }
Returns the meta data for editing an issue.

@param string $issue
@return type
@throws JiraException
Returns the meta data for editing an issue .