diff --git a/lib/success.js b/lib/success.js index d57c4535..b6b19c4f 100644 --- a/lib/success.js +++ b/lib/success.js @@ -378,6 +378,8 @@ const baseFields = ` url name color + description + isDefault } } milestone { @@ -513,7 +515,16 @@ function buildIssuesOrPRsFromResponseNode(responseNodes, type = "ISSUE") { number: node.number, title: node.title, body: node.body, - labels: node.labels?.nodes.map((label) => label.name), + labels: node.labels?.nodes.map((label) => { + return { + id: label.id, + url: label.url, + name: label.name, + color: label.color, + description: label.description, + default: label.isDefault, + }; + }), html_url: node.url, created_at: node.createdAt, updated_at: node.updatedAt,