code: public List<Discussion> getIssueDiscussions(Object projectIdOrPath, Integer issueIid) throws GitLabApiException {
          Pager<Discussion> pager = getIssueDiscussionsPager(projectIdOrPath, issueIid, getDefaultPerPage());
          return (pager.all());
      }
docs: Get a list of all discussions for the specified issue.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/discussions</code></pre>
  
  @param projectIdOrPath projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param issueIid the internal ID of the issue
  @return a list containing all the discussions for the specified issue
  @throws GitLabApiException if any exception occurs during execution