The title of the issue.
Name of repository owner.
Name of repository.
async
(params, auths) => {
}
//See the API docs here: https://developer.github.com/v3/issues/#create-an-issue
const data = {
assignee: params.assignee,
body: params.body,
labels: params.labels,
milestone: params.milestone,
title: params.title,
}
const config = {
method: "post",
url: `https://api.github.com/repos/${params.owner}/${params.repo}/issues`,
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
data,
}
return await require("@pipedreamhq/platform").axios(this, config)