src/jira.js
/** Add an issue to the project's current sprint
   * @name addIssueToSprint
   * @function
   * @param {string} issueId - the id of the existing issue
   * @param {string} sprintId - the id of the sprint to add it to
   */
Add an issue to the project's current sprint
@name addIssueToSprint
@function
@param {string} issueId - the id of the existing issue
@param {string} sprintId - the id of the sprint to add it to
Add an issue to the project ' s current sprint @name addIssueToSprint @function @param { string } issueId - the id of the existing issue @param { string } sprintId - the id of the sprint to add it to
addIssueToSprint(issueId, sprintId) {
    return this.doRequest(this.makeRequestHeader(this.makeAgileUri({
      pathname: `/sprint/${sprintId}/issue`,
    }), {
      method: 'POST',
      body: {
        issues: [issueId],
      },
    }));
  }
addIssueToSprint ( issueId , sprintId ) { return this . doRequest ( this . makeRequestHeader ( this . makeAgileUri ( { pathname : ` ${ sprintId } ` , } ) , { method : 'POST' , body : { issues : [ issueId ] , } , } ) ) ; }
Add an issue to the project's current sprint
 @name addIssueToSprint
 @function
 @param {string} issueId - the id of the existing issue
 @param {string} sprintId - the id of the sprint to add it to
Add an issue to the project ' s current sprint @name addIssueToSprint @function @param { string } issueId - the id of the existing issue @param { string } sprintId - the id of the sprint to add it to