forcedotcom / git2gus

A Github application to keep issues in sync with Agile Accelerator
https://lwc-gus-bot.herokuapp.com
BSD 3-Clause "New" or "Revised" License
27 stars 16 forks source link

`defaultBuild` config does not support previous builds #54

Open trevor-bliss opened 5 years ago

trevor-bliss commented 5 years ago

In .git2gus/config.json if the defaultBuild option is not set to the most recent build, no Gus work item is created when the Gus creation label is added.

Here is our previous config that was silently failing to create a new Gus work item when BUG P2 is added to a Github Issue:

{
  "productTag": "<omitted>",
  "defaultBuild": "222"
}

Here is the new config that successfully creates work items:

{
  "productTag": "<omitted>",
  "defaultBuild": "224"
}

Even on an older defaultBuild, work items should be created and targeted to that release.