export default function apply(issues, jiraClientAPI) {
  let issueMap = issues.map(issue => {
    return jiraClientAPI.findIssue(issue);
  });

  return Promise.all(issueMap)
   .then(() => true);
}

export default function apply(issues, jiraClientAPI) {
  let issueMap = issues.map(issue => {
    return jiraClientAPI.findIssue(issue);
  });

  //On error, throws: "Error: Issue {key} does not exist."
  return Promise.all(issueMap)
    .then(() => true);
}

Add comment showing what error is thrown
Add comment showing what error is thrown
