Always set 'size' when adding items to the review board (#32806)
This commit is contained in:
@@ -86,7 +86,7 @@ async function run() {
|
||||
|
||||
// If the item is a PR, determine the feature and size
|
||||
let feature = ''
|
||||
let sizeType = '' // You don't need to use a field ID if you want the value to be empty
|
||||
let sizeType = sizeS // We need to set something in case this is an issue
|
||||
if (data.item.__typename === 'PullRequest') {
|
||||
// Get the
|
||||
// - number of files changed
|
||||
@@ -212,7 +212,6 @@ async function run() {
|
||||
authorID,
|
||||
headers: {
|
||||
authorization: `token ${process.env.TOKEN}`,
|
||||
'GraphQL-Features': 'projects_next_graphql',
|
||||
},
|
||||
})
|
||||
console.log('Done populating fields for item')
|
||||
|
||||
Reference in New Issue
Block a user